0s autopkgtest [10:55:23]: starting date and time: 2025-01-14 10:55:23+0000 0s autopkgtest [10:55:23]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [10:55:23]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0ec8dni5/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:util-linux,src:golang-github-containers-buildah,src:golang-github-containers-psgo,src:mmdebstrap,src:shadow,src:sssd --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-23.secgroup --name adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 84s autopkgtest [10:56:47]: testbed dpkg architecture: ppc64el 85s autopkgtest [10:56:48]: testbed apt version: 2.9.18 85s autopkgtest [10:56:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 85s autopkgtest [10:56:48]: testbed release detected to be: None 86s autopkgtest [10:56:49]: updating testbed package index (apt update) 86s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 87s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 87s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 87s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 87s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [854 kB] 87s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [139 kB] 87s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 87s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.3 kB] 87s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [260 kB] 87s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 87s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [982 kB] 87s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4080 B] 87s Fetched 2335 kB in 1s (2011 kB/s) 88s Reading package lists... 89s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Calculating upgrade... 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 91s autopkgtest [10:56:54]: upgrading testbed (apt dist-upgrade and autopurge) 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 92s Starting 2 pkgProblemResolver with broken count: 0 92s Done 93s Entering ResolveByKeep 93s 93s The following NEW packages will be installed: 93s login.defs 93s The following packages will be upgraded: 93s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 93s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 93s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 93s Need to get 3680 kB of archives. 93s After this operation, 1376 kB of additional disk space will be used. 93s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdutils ppc64el 1:2.40.2-14ubuntu1 [105 kB] 94s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el eject ppc64el 2.40.2-14ubuntu1 [47.8 kB] 94s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdextrautils ppc64el 2.40.2-14ubuntu1 [92.9 kB] 94s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libfdisk1 ppc64el 2.40.2-14ubuntu1 [188 kB] 94s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el fdisk ppc64el 2.40.2-14ubuntu1 [153 kB] 94s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid1 ppc64el 2.40.2-14ubuntu1 [161 kB] 94s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount1 ppc64el 2.40.2-14ubuntu1 [190 kB] 94s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libsmartcols1 ppc64el 2.40.2-14ubuntu1 [108 kB] 94s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el mount ppc64el 2.40.2-14ubuntu1 [146 kB] 94s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libuuid1 ppc64el 2.40.2-14ubuntu1 [45.3 kB] 94s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el util-linux ppc64el 2.40.2-14ubuntu1 [1176 kB] 94s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-runtime ppc64el 2.40.2-14ubuntu1 [54.6 kB] 94s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 94s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login ppc64el 1:4.16.0-2+really2.40.2-14ubuntu1 [78.7 kB] 94s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el passwd ppc64el 1:4.16.0-7ubuntu1 [1094 kB] 94s Fetched 3680 kB in 1s (4850 kB/s) 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 95s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 95s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 95s Preparing to unpack .../eject_2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 95s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 95s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking libfdisk1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 95s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 95s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking libblkid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 95s Setting up libblkid1:ppc64el (2.40.2-14ubuntu1) ... 95s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 95s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_ppc64el.deb ... 95s Unpacking libmount1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 96s Setting up libmount1:ppc64el (2.40.2-14ubuntu1) ... 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 96s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_ppc64el.deb ... 96s Unpacking libsmartcols1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 96s Setting up libsmartcols1:ppc64el (2.40.2-14ubuntu1) ... 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 96s Preparing to unpack .../mount_2.40.2-14ubuntu1_ppc64el.deb ... 96s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 96s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_ppc64el.deb ... 96s Unpacking libuuid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 96s Setting up libuuid1:ppc64el (2.40.2-14ubuntu1) ... 96s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 96s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_ppc64el.deb ... 96s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 96s Setting up util-linux (2.40.2-14ubuntu1) ... 97s fstrim.service is a disabled or a static unit not running, not starting it. 97s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74034 files and directories currently installed.) 97s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_ppc64el.deb ... 97s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 97s Selecting previously unselected package login.defs. 97s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 97s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 97s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 97s Setting up login.defs (1:4.16.0-7ubuntu1) ... 97s Installing new version of config file /etc/login.defs ... 98s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74038 files and directories currently installed.) 98s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_ppc64el.deb ... 98s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 98s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_ppc64el.deb ... 98s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 98s Setting up passwd (1:4.16.0-7ubuntu1) ... 98s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 98s Setting up eject (2.40.2-14ubuntu1) ... 98s Setting up libfdisk1:ppc64el (2.40.2-14ubuntu1) ... 98s Setting up mount (2.40.2-14ubuntu1) ... 98s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 99s uuidd.service is a disabled or a static unit not running, not starting it. 99s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 99s Setting up fdisk (2.40.2-14ubuntu1) ... 99s Processing triggers for man-db (2.13.0-1) ... 102s Processing triggers for libc-bin (2.40-4ubuntu1) ... 102s Reading package lists... 102s Building dependency tree... 102s Reading state information... 103s Starting pkgProblemResolver with broken count: 0 103s Starting 2 pkgProblemResolver with broken count: 0 103s Done 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s autopkgtest [10:57:06]: rebooting testbed after setup commands that affected boot 137s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 145s autopkgtest [10:57:48]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 148s autopkgtest [10:57:51]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 160s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 160s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 160s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 160s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 160s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 160s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 160s gpgv: Can't check signature: No public key 160s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 161s autopkgtest [10:58:04]: testing package glib2.0 version 2.82.4-1 166s autopkgtest [10:58:09]: build not needed 176s autopkgtest [10:58:19]: test build: preparing testbed 176s Reading package lists... 176s Building dependency tree... 176s Reading state information... 177s Starting pkgProblemResolver with broken count: 0 177s Starting 2 pkgProblemResolver with broken count: 0 177s Done 177s The following NEW packages will be installed: 177s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 177s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 177s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 177s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 177s libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 177s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 177s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 177s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 177s zlib1g-dev 177s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 177s Need to get 63.1 MB of archives. 177s After this operation, 234 MB of additional disk space will be used. 177s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 178s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 178s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [10.5 MB] 178s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-12ubuntu1 [1038 B] 178s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 178s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 178s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-12ubuntu1 [48.1 kB] 178s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-12ubuntu1 [161 kB] 178s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-12ubuntu1 [32.1 kB] 178s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-12ubuntu1 [2945 kB] 178s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-12ubuntu1 [1322 kB] 178s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-12ubuntu1 [2695 kB] 178s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-12ubuntu1 [1191 kB] 178s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-12ubuntu1 [158 kB] 178s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-12ubuntu1 [1620 kB] 178s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [20.6 MB] 179s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-12ubuntu1 [533 kB] 179s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 179s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 179s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-12ubuntu1 [2675 kB] 179s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [12.0 MB] 179s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-12ubuntu1 [20.2 kB] 179s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 179s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 179s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 179s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 179s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB] 179s Get:28 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB] 179s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 179s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 179s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 179s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 179s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 179s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu1 [194 kB] 179s Get:35 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB] 179s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.2-1 [61.4 kB] 179s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 179s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 179s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 179s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 179s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.82.4-1 [2152 kB] 180s Fetched 63.1 MB in 2s (27.4 MB/s) 180s Selecting previously unselected package libisl23:ppc64el. 180s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74036 files and directories currently installed.) 180s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 180s Unpacking libisl23:ppc64el (0.27-1) ... 180s Selecting previously unselected package libmpc3:ppc64el. 180s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 180s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 180s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 181s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package cpp-14. 181s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 181s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 181s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 181s Selecting previously unselected package cpp. 181s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 181s Unpacking cpp (4:14.1.0-2ubuntu1) ... 181s Selecting previously unselected package libcc1-0:ppc64el. 181s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libgomp1:ppc64el. 181s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libgomp1:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libitm1:ppc64el. 181s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libitm1:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libasan8:ppc64el. 181s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libasan8:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package liblsan0:ppc64el. 181s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking liblsan0:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libtsan2:ppc64el. 181s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libtsan2:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libubsan1:ppc64el. 181s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libubsan1:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libquadmath0:ppc64el. 181s Preparing to unpack .../13-libquadmath0_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package libgcc-14-dev:ppc64el. 181s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 181s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 181s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 181s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 182s Selecting previously unselected package gcc-14. 182s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_ppc64el.deb ... 182s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 182s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 182s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 182s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 182s Selecting previously unselected package gcc. 182s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 182s Unpacking gcc (4:14.1.0-2ubuntu1) ... 182s Selecting previously unselected package libstdc++-14-dev:ppc64el. 182s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 182s Unpacking libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 182s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 182s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 182s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 182s Selecting previously unselected package g++-14. 182s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_ppc64el.deb ... 182s Unpacking g++-14 (14.2.0-12ubuntu1) ... 183s Selecting previously unselected package g++-powerpc64le-linux-gnu. 183s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 183s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Selecting previously unselected package g++. 183s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 183s Unpacking g++ (4:14.1.0-2ubuntu1) ... 183s Selecting previously unselected package build-essential. 183s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 183s Unpacking build-essential (12.10ubuntu1) ... 183s Selecting previously unselected package libffi-dev:ppc64el. 183s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_ppc64el.deb ... 183s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 183s Selecting previously unselected package uuid-dev:ppc64el. 183s Preparing to unpack .../26-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 183s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 183s Selecting previously unselected package libblkid-dev:ppc64el. 183s Preparing to unpack .../27-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 183s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 183s Selecting previously unselected package libsepol-dev:ppc64el. 183s Preparing to unpack .../28-libsepol-dev_3.7-1_ppc64el.deb ... 183s Unpacking libsepol-dev:ppc64el (3.7-1) ... 183s Selecting previously unselected package libpcre2-16-0:ppc64el. 183s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 183s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 183s Selecting previously unselected package libpcre2-32-0:ppc64el. 183s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 183s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 183s Selecting previously unselected package libpcre2-posix3:ppc64el. 183s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 183s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 183s Selecting previously unselected package libpcre2-dev:ppc64el. 183s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 183s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 183s Selecting previously unselected package libselinux1-dev:ppc64el. 183s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu1_ppc64el.deb ... 183s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 183s Selecting previously unselected package libmount-dev:ppc64el. 183s Preparing to unpack .../34-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ... 183s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 183s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 183s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_ppc64el.deb ... 183s Unpacking libsysprof-capture-4-dev:ppc64el (47.2-1) ... 183s Selecting previously unselected package libpkgconf3:ppc64el. 183s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ... 183s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 183s Selecting previously unselected package pkgconf-bin. 183s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ... 183s Unpacking pkgconf-bin (1.8.1-4) ... 183s Selecting previously unselected package pkgconf:ppc64el. 183s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ... 183s Unpacking pkgconf:ppc64el (1.8.1-4) ... 183s Selecting previously unselected package zlib1g-dev:ppc64el. 183s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 183s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 183s Selecting previously unselected package libgio-2.0-dev:ppc64el. 183s Preparing to unpack .../40-libgio-2.0-dev_2.82.4-1_ppc64el.deb ... 183s Unpacking libgio-2.0-dev:ppc64el (2.82.4-1) ... 183s Setting up libgomp1:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 183s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 183s Setting up libsysprof-capture-4-dev:ppc64el (47.2-1) ... 183s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 183s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 183s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 183s Setting up libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 183s Setting up libsepol-dev:ppc64el (3.7-1) ... 183s Setting up pkgconf-bin (1.8.1-4) ... 183s Setting up libubsan1:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 183s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 183s Setting up libasan8:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libtsan2:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libisl23:ppc64el (0.27-1) ... 183s Setting up libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up liblsan0:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libitm1:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 183s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 183s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 183s Setting up pkgconf:ppc64el (1.8.1-4) ... 183s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 183s Setting up cpp-14 (14.2.0-12ubuntu1) ... 183s Setting up libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 183s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 183s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 183s Setting up libgio-2.0-dev:ppc64el (2.82.4-1) ... 183s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 183s Setting up gcc-14 (14.2.0-12ubuntu1) ... 183s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Setting up cpp (4:14.1.0-2ubuntu1) ... 183s Setting up g++-14 (14.2.0-12ubuntu1) ... 183s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 183s Setting up gcc (4:14.1.0-2ubuntu1) ... 183s Setting up g++ (4:14.1.0-2ubuntu1) ... 183s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 183s Setting up build-essential (12.10ubuntu1) ... 183s Processing triggers for libc-bin (2.40-4ubuntu1) ... 184s Processing triggers for man-db (2.13.0-1) ... 185s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 185s No schema files found: doing nothing. 185s Processing triggers for install-info (7.1.1-1) ... 187s autopkgtest [10:58:30]: test build: [----------------------- 187s + mode=dynamic 187s + getopt -o --long static -n debian/tests/build -- 187s + getopt_temp= -- 187s + eval set -- -- 187s + set -- -- 187s + true 187s + shift 187s + break 187s + mktemp -d 187s + WORKDIR=/tmp/tmp.nPGCxtAhaY 187s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 187s + cd /tmp/tmp.nPGCxtAhaY 187s + [ -n ] 187s + CROSS_COMPILE= 187s + cat 187s + cat 187s + cat 187s + cat 187s + cat 187s + cat 187s + cflags= 187s + pcflags= 187s + packages=glib-2.0 187s + pkg-config --cflags --libs glib-2.0 187s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 187s + echo build (glib, dynamic): OK 187s + [ -x glib-dynamic ] 187s + foo=bar ./glib-dynamic 187s build (glib, dynamic): OK 187s run (glib, dynamic): OK 187s + echo run (glib, dynamic): OK 187s + cflags= 187s + pcflags= 187s + packages=gobject-2.0 187s + pkg-config --cflags --libs gobject-2.0 187s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 188s + echo build (gobject, dynamic): OK 188s + [ -x gobject-dynamic ] 188s + foo=bar ./gobject-dynamic 188s + echo run (gobject, dynamic): OK 188s + cflags= 188s + pcflags= 188s + packages=gio-2.0 188s + pkg-config --cflags --libs gio-2.0 188s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 188s build (gobject, dynamic): OK 188s run (gobject, dynamic): OK 188s + echo build (gio, dynamic): OK 188s + [ -x gio-dynamic ] 188s + foo=bar ./gio-dynamic 188s + echo run (gio, dynamic): OK 188s + cflags= 188s + pcflags= 188s + packages=gio-unix-2.0 188s + pkg-config --cflags --libs gio-unix-2.0 188s build (gio, dynamic): OK 188s run (gio, dynamic): OK 188s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 188s build (gio-unix, dynamic): OK 188s + echo build (gio-unix, dynamic): OK 188s + [ -x gio-unix-dynamic ] 188s + foo=bar ./gio-unix-dynamic 188s + echo run (gio-unix, dynamic): OK 188s + cflags= 188s + pcflags= 188s + packages=gmodule-2.0 188s run (gio-unix, dynamic): OK 188s + pkg-config --cflags --libs gmodule-2.0 188s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 188s + echo build (gmodule, dynamic): OK 188s + [ -x gmodule-dynamic ] 188s + foo=bar ./gmodule-dynamic 188s build (gmodule, dynamic): OK 188s + echo run (gmodule, dynamic): OK 188s + cflags= 188s + pcflags= 188s + packages=gthread-2.0 188s run (gmodule, dynamic): OK 188s + pkg-config --cflags --libs gthread-2.0 188s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 188s + echo build (gthread, dynamic): OK 188s + [ -x gthread-dynamic ] 188s + foo=bar ./gthread-dynamic 188s build (gthread, dynamic): OK 188s + echo run (gthread, dynamic): OK 188s + rm -rf /tmp/tmp.nPGCxtAhaY 188s run (gthread, dynamic): OK 189s autopkgtest [10:58:32]: test build: -----------------------] 189s build PASS (superficial) 189s autopkgtest [10:58:32]: test build: - - - - - - - - - - results - - - - - - - - - - 189s autopkgtest [10:58:32]: test build-static: preparing testbed 190s Reading package lists... 190s Building dependency tree... 190s Reading state information... 190s Starting pkgProblemResolver with broken count: 0 190s Starting 2 pkgProblemResolver with broken count: 0 190s Done 191s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 191s autopkgtest [10:58:34]: test build-static: [----------------------- 192s + mode=dynamic 192s + getopt -o --long static -n debian/tests/build -- --static 192s + getopt_temp= --static -- 192s + eval set -- --static -- 192s + set -- --static -- 192s + true 192s + mode=static 192s + shift 192s + continue 192s + true 192s + shift 192s + break 192s + mktemp -d 192s + WORKDIR=/tmp/tmp.fvDg0GkZ8w 192s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 192s + cd /tmp/tmp.fvDg0GkZ8w 192s + [ -n ] 192s + CROSS_COMPILE= 192s + cat 192s + cat 192s + cat 192s + cat 192s + cat 192s + cat 192s + cflags= 192s + pcflags= 192s + packages=glib-2.0 192s + cflags=-static 192s + pcflags=--static 192s + pkg-config --static --cflags --libs glib-2.0 192s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 192s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 192s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s + echo build (glib, static): OK 192s + [ -x glib-static ] 192s + foo=bar ./glib-static 192s + echo run (glib, static): OK 192s + cflags= 192s + pcflags= 192s + packages=gobject-2.0 192s + cflags=-static 192s + pcflags=--static 192s build (glib, static): OK 192s run (glib, static): OK 192s + pkg-config --static --cflags --libs gobject-2.0 192s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 192s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 192s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s + echo build (gobject, static): OK 192s build (gobject, static): OK 192s + [ -x gobject-static ] 192s + foo=bar ./gobject-static 192s run (gobject, static): OK 192s + echo run (gobject, static): OK 192s + cflags= 192s + pcflags= 192s + packages=gio-2.0 192s + cflags=-static 192s + pcflags=--static 192s + continue 192s + cflags= 192s + pcflags= 192s + packages=gio-unix-2.0 192s + cflags=-static 192s + pcflags=--static 192s + continue 192s + cflags= 192s + pcflags= 192s + packages=gmodule-2.0 192s + cflags=-static 192s + pcflags=--static 192s + pkg-config --static --cflags --libs gmodule-2.0 192s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 192s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 192s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 192s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s build (gmodule, static): OK 192s + echo build (gmodule, static): OK 192s + [ -x gmodule-static ] 192s + foo=bar ./gmodule-static 192s + echo run (gmodule, static): OK 192s + cflags= 192s + pcflags= 192s + packages=gthread-2.0 192s + cflags=-static 192s + pcflags=--static 192s run (gmodule, static): OK 192s + pkg-config --static --cflags --libs gthread-2.0 192s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 192s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 192s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 192s build (gthread, static): OK 192s + echo build (gthread, static): OK 192s + [ -x gthread-static ] 192s + foo=bar ./gthread-static 192s + echo run (gthread, static): OK 192s + rm -rf /tmp/tmp.fvDg0GkZ8w 192s run (gthread, static): OK 193s autopkgtest [10:58:36]: test build-static: -----------------------] 193s build-static PASS (superficial) 193s autopkgtest [10:58:36]: test build-static: - - - - - - - - - - results - - - - - - - - - - 194s autopkgtest [10:58:37]: test girepository-tools: preparing testbed 287s autopkgtest [11:00:10]: testbed dpkg architecture: ppc64el 287s autopkgtest [11:00:10]: testbed apt version: 2.9.18 287s autopkgtest [11:00:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 288s autopkgtest [11:00:11]: testbed release detected to be: plucky 288s autopkgtest [11:00:11]: updating testbed package index (apt update) 289s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 289s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 289s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 289s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 289s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.3 kB] 289s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [139 kB] 289s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [854 kB] 290s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 290s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [260 kB] 290s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 290s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [982 kB] 290s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4080 B] 290s Fetched 2335 kB in 1s (2027 kB/s) 291s Reading package lists... 292s Reading package lists... 292s Building dependency tree... 292s Reading state information... 292s Calculating upgrade... 292s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 292s Reading package lists... 292s Building dependency tree... 292s Reading state information... 293s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 293s autopkgtest [11:00:16]: upgrading testbed (apt dist-upgrade and autopurge) 293s Reading package lists... 293s Building dependency tree... 293s Reading state information... 294s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 294s Starting 2 pkgProblemResolver with broken count: 0 294s Done 294s Entering ResolveByKeep 295s 295s The following NEW packages will be installed: 295s login.defs 295s The following packages will be upgraded: 295s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 295s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 295s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 295s Need to get 3680 kB of archives. 295s After this operation, 1376 kB of additional disk space will be used. 295s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdutils ppc64el 1:2.40.2-14ubuntu1 [105 kB] 295s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el eject ppc64el 2.40.2-14ubuntu1 [47.8 kB] 295s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdextrautils ppc64el 2.40.2-14ubuntu1 [92.9 kB] 295s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libfdisk1 ppc64el 2.40.2-14ubuntu1 [188 kB] 296s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el fdisk ppc64el 2.40.2-14ubuntu1 [153 kB] 296s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid1 ppc64el 2.40.2-14ubuntu1 [161 kB] 296s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount1 ppc64el 2.40.2-14ubuntu1 [190 kB] 296s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libsmartcols1 ppc64el 2.40.2-14ubuntu1 [108 kB] 296s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el mount ppc64el 2.40.2-14ubuntu1 [146 kB] 296s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libuuid1 ppc64el 2.40.2-14ubuntu1 [45.3 kB] 296s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el util-linux ppc64el 2.40.2-14ubuntu1 [1176 kB] 296s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-runtime ppc64el 2.40.2-14ubuntu1 [54.6 kB] 296s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 296s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login ppc64el 1:4.16.0-2+really2.40.2-14ubuntu1 [78.7 kB] 296s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el passwd ppc64el 1:4.16.0-7ubuntu1 [1094 kB] 296s Fetched 3680 kB in 1s (4270 kB/s) 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 297s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 297s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 297s Preparing to unpack .../eject_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking libfdisk1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking libblkid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Setting up libblkid1:ppc64el (2.40.2-14ubuntu1) ... 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 297s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking libmount1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Setting up libmount1:ppc64el (2.40.2-14ubuntu1) ... 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 297s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking libsmartcols1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Setting up libsmartcols1:ppc64el (2.40.2-14ubuntu1) ... 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 297s Preparing to unpack .../mount_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking libuuid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Setting up libuuid1:ppc64el (2.40.2-14ubuntu1) ... 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 297s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_ppc64el.deb ... 297s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 297s Setting up util-linux (2.40.2-14ubuntu1) ... 298s fstrim.service is a disabled or a static unit not running, not starting it. 298s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74034 files and directories currently installed.) 298s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_ppc64el.deb ... 298s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 298s Selecting previously unselected package login.defs. 298s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 298s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 298s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 298s Setting up login.defs (1:4.16.0-7ubuntu1) ... 298s Installing new version of config file /etc/login.defs ... 298s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74038 files and directories currently installed.) 298s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_ppc64el.deb ... 298s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 299s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_ppc64el.deb ... 299s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 299s Setting up passwd (1:4.16.0-7ubuntu1) ... 299s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 299s Setting up eject (2.40.2-14ubuntu1) ... 299s Setting up libfdisk1:ppc64el (2.40.2-14ubuntu1) ... 299s Setting up mount (2.40.2-14ubuntu1) ... 299s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 300s uuidd.service is a disabled or a static unit not running, not starting it. 300s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 300s Setting up fdisk (2.40.2-14ubuntu1) ... 300s Processing triggers for man-db (2.13.0-1) ... 302s Processing triggers for libc-bin (2.40-4ubuntu1) ... 302s Reading package lists... 302s Building dependency tree... 302s Reading state information... 303s Starting pkgProblemResolver with broken count: 0 303s Starting 2 pkgProblemResolver with broken count: 0 303s Done 303s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 303s autopkgtest [11:00:26]: rebooting testbed after setup commands that affected boot 341s Reading package lists... 341s Building dependency tree... 341s Reading state information... 341s Starting pkgProblemResolver with broken count: 0 341s Starting 2 pkgProblemResolver with broken count: 0 341s Done 342s The following NEW packages will be installed: 342s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 342s native-architecture 342s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 342s Need to get 1070 kB of archives. 342s After this operation, 12.8 MB of additional disk space will be used. 342s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.82.4-1 [853 kB] 342s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 342s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 342s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 343s Fetched 1070 kB in 1s (1368 kB/s) 343s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 343s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74036 files and directories currently installed.) 343s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_ppc64el.deb ... 343s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 343s Selecting previously unselected package native-architecture. 343s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 343s Unpacking native-architecture (0.2.3) ... 343s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 343s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 343s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 343s Selecting previously unselected package girepository-tools:ppc64el. 343s Preparing to unpack .../girepository-tools_2.82.4-1_ppc64el.deb ... 343s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 343s Setting up native-architecture (0.2.3) ... 343s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 343s Setting up gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 343s Setting up girepository-tools:ppc64el (2.82.4-1) ... 343s Processing triggers for man-db (2.13.0-1) ... 344s Processing triggers for libc-bin (2.40-4ubuntu1) ... 351s autopkgtest [11:01:14]: test girepository-tools: [----------------------- 351s + cd /tmp/autopkgtest.U3etz3/autopkgtest_tmp 351s + dpkg-architecture -qDEB_HOST_GNU_TYPE 351s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 351s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 351s + dpkg-architecture -qDEB_HOST_MULTIARCH 352s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 352s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 352s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 352s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 352s typelib: GLib-2.0 352s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 352s autopkgtest [11:01:15]: test girepository-tools: -----------------------] 353s girepository-tools PASS (superficial) 353s autopkgtest [11:01:16]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 353s autopkgtest [11:01:16]: test libgio-2.0-dev-bin: preparing testbed 460s autopkgtest [11:03:03]: testbed dpkg architecture: ppc64el 460s autopkgtest [11:03:03]: testbed apt version: 2.9.18 460s autopkgtest [11:03:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 460s autopkgtest [11:03:03]: testbed release detected to be: plucky 461s autopkgtest [11:03:04]: updating testbed package index (apt update) 462s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 462s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 462s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 462s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 462s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.3 kB] 462s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 462s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [139 kB] 462s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [854 kB] 462s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [260 kB] 462s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 462s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [982 kB] 462s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4080 B] 463s Fetched 2335 kB in 1s (2147 kB/s) 463s Reading package lists... 464s Reading package lists... 464s Building dependency tree... 464s Reading state information... 464s Calculating upgrade... 465s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 465s Reading package lists... 465s Building dependency tree... 465s Reading state information... 465s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 465s autopkgtest [11:03:08]: upgrading testbed (apt dist-upgrade and autopurge) 465s Reading package lists... 466s Building dependency tree... 466s Reading state information... 466s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 466s Starting 2 pkgProblemResolver with broken count: 0 466s Done 466s Entering ResolveByKeep 467s 467s The following NEW packages will be installed: 467s login.defs 467s The following packages will be upgraded: 467s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 467s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 467s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 467s Need to get 3680 kB of archives. 467s After this operation, 1376 kB of additional disk space will be used. 467s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdutils ppc64el 1:2.40.2-14ubuntu1 [105 kB] 467s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el eject ppc64el 2.40.2-14ubuntu1 [47.8 kB] 467s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdextrautils ppc64el 2.40.2-14ubuntu1 [92.9 kB] 467s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libfdisk1 ppc64el 2.40.2-14ubuntu1 [188 kB] 467s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el fdisk ppc64el 2.40.2-14ubuntu1 [153 kB] 467s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid1 ppc64el 2.40.2-14ubuntu1 [161 kB] 467s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount1 ppc64el 2.40.2-14ubuntu1 [190 kB] 467s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libsmartcols1 ppc64el 2.40.2-14ubuntu1 [108 kB] 467s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el mount ppc64el 2.40.2-14ubuntu1 [146 kB] 467s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libuuid1 ppc64el 2.40.2-14ubuntu1 [45.3 kB] 467s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el util-linux ppc64el 2.40.2-14ubuntu1 [1176 kB] 468s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-runtime ppc64el 2.40.2-14ubuntu1 [54.6 kB] 468s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 468s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login ppc64el 1:4.16.0-2+really2.40.2-14ubuntu1 [78.7 kB] 468s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el passwd ppc64el 1:4.16.0-7ubuntu1 [1094 kB] 468s Fetched 3680 kB in 1s (5227 kB/s) 468s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 468s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_ppc64el.deb ... 468s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 468s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 468s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 468s Preparing to unpack .../eject_2.40.2-14ubuntu1_ppc64el.deb ... 468s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 468s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_ppc64el.deb ... 468s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 468s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_ppc64el.deb ... 468s Unpacking libfdisk1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 468s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_ppc64el.deb ... 468s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 468s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_ppc64el.deb ... 468s Unpacking libblkid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 468s Setting up libblkid1:ppc64el (2.40.2-14ubuntu1) ... 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 469s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_ppc64el.deb ... 469s Unpacking libmount1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 469s Setting up libmount1:ppc64el (2.40.2-14ubuntu1) ... 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 469s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_ppc64el.deb ... 469s Unpacking libsmartcols1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 469s Setting up libsmartcols1:ppc64el (2.40.2-14ubuntu1) ... 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 469s Preparing to unpack .../mount_2.40.2-14ubuntu1_ppc64el.deb ... 469s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 469s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_ppc64el.deb ... 469s Unpacking libuuid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 469s Setting up libuuid1:ppc64el (2.40.2-14ubuntu1) ... 469s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 469s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_ppc64el.deb ... 469s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 469s Setting up util-linux (2.40.2-14ubuntu1) ... 470s fstrim.service is a disabled or a static unit not running, not starting it. 470s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74034 files and directories currently installed.) 470s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_ppc64el.deb ... 470s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 470s Selecting previously unselected package login.defs. 470s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 470s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 470s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 470s Setting up login.defs (1:4.16.0-7ubuntu1) ... 470s Installing new version of config file /etc/login.defs ... 470s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74038 files and directories currently installed.) 470s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_ppc64el.deb ... 470s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 470s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_ppc64el.deb ... 470s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 470s Setting up passwd (1:4.16.0-7ubuntu1) ... 470s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 470s Setting up eject (2.40.2-14ubuntu1) ... 470s Setting up libfdisk1:ppc64el (2.40.2-14ubuntu1) ... 470s Setting up mount (2.40.2-14ubuntu1) ... 470s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 471s uuidd.service is a disabled or a static unit not running, not starting it. 471s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 471s Setting up fdisk (2.40.2-14ubuntu1) ... 471s Processing triggers for man-db (2.13.0-1) ... 473s Processing triggers for libc-bin (2.40-4ubuntu1) ... 473s Reading package lists... 474s Building dependency tree... 474s Reading state information... 474s Starting pkgProblemResolver with broken count: 0 474s Starting 2 pkgProblemResolver with broken count: 0 474s Done 474s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 474s autopkgtest [11:03:17]: rebooting testbed after setup commands that affected boot 508s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 519s Starting pkgProblemResolver with broken count: 0 519s Starting 2 pkgProblemResolver with broken count: 0 519s Done 519s The following NEW packages will be installed: 519s libgio-2.0-dev-bin python3-packaging 519s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 519s Need to get 182 kB of archives. 519s After this operation, 1067 kB of additional disk space will be used. 519s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 519s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 520s Fetched 182 kB in 0s (423 kB/s) 520s Selecting previously unselected package python3-packaging. 520s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74036 files and directories currently installed.) 520s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 520s Unpacking python3-packaging (24.2-1) ... 520s Selecting previously unselected package libgio-2.0-dev-bin. 520s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 520s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 520s Setting up python3-packaging (24.2-1) ... 521s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 521s Processing triggers for man-db (2.13.0-1) ... 532s autopkgtest [11:04:15]: test libgio-2.0-dev-bin: [----------------------- 532s + gdbus-codegen --help 533s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 533s [--c-namespace NAMESPACE] [--c-generate-object-manager] 533s [--c-generate-autocleanup {none,objects,all}] 533s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 533s [--generate-rst OUTFILES] [--pragma-once] 533s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 533s [--glib-min-required VERSION] 533s [--glib-max-allowed VERSION] 533s [--symbol-decorator SYMBOL_DECORATOR] 533s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 533s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 533s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 533s [--output FILE | --output-directory OUTDIR] 533s FILE [FILE ...] 533s 533s D-Bus code and documentation generator 533s 533s positional arguments: 533s FILE D-Bus introspection XML file 533s 533s options: 533s -h, --help show this help message and exit 533s --interface-prefix PREFIX 533s String to strip from D-Bus interface names for code 533s and docs 533s --c-namespace NAMESPACE 533s The namespace to use for generated C code 533s --c-generate-object-manager 533s Generate a GDBusObjectManagerClient subclass when 533s generating C code 533s --c-generate-autocleanup {none,objects,all} 533s Generate autocleanup support 533s --generate-docbook OUTFILES 533s Generate Docbook in OUTFILES-org.Project.IFace.xml 533s --generate-md OUTFILES 533s Generate Markdown in OUTFILES-org.Project.IFace.md 533s --generate-rst OUTFILES 533s Generate reStructuredText in OUTFILES- 533s org.Project.IFace.rst 533s --pragma-once Use "pragma once" as the inclusion guard 533s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 533s Add annotation (may be used several times) 533s --glib-min-required VERSION 533s Minimum version of GLib to be supported by the 533s outputted code (default: 2.30) 533s --glib-max-allowed VERSION 533s Maximum version of GLib to be used by the outputted 533s code (default: current GLib version) 533s --symbol-decorator SYMBOL_DECORATOR 533s Macro used to decorate a symbol in the outputted 533s header, possibly to export symbols 533s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 533s Additional header required for decorator specified by 533s --symbol-decorator 533s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 533s Additional define required for decorator specified by 533s --symbol-decorator 533s --generate-c-code OUTFILES 533s Generate C code in OUTFILES.[ch] 533s --header Generate C headers 533s --body Generate C code 533s --interface-info-header 533s Generate GDBusInterfaceInfo C header 533s --interface-info-body 533s Generate GDBusInterfaceInfo C code 533s --output FILE Write output into the specified file 533s --output-directory OUTDIR 533s Location to output generated files 533s + glib-compile-resources --version 533s 2.82.4 533s + glib-genmarshal --version 533s glib-genmarshal version 2.82.4 533s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 533s You may redistribute copies of glib-genmarshal under the terms of 533s the GNU General Public License which can be found in the 533s GLib source package. Sources, examples and contact 533s information are available at http://www.gtk.org 533s + glib-gettextize --version 533s /usr/bin/glib-gettextize (GNU glib) 2.82.4 533s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 533s This is free software; see the source for copying conditions. There is NO 533s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 533s Written by Ulrich Drepper 533s + glib-mkenums --version 533s glib-mkenums version 2.82.4 533s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 533s You may redistribute copies of glib-mkenums under the terms of 533s the GNU General Public License which can be found in the 533s GLib source package. Sources, examples and contact 533s information are available at http://www.gtk.org 533s + gobject-query tree 533s GObject 533s + gtester --version 533s gtester version 2.82.4 533s + gtester-report --version 533s gtester-report (GLib utils) version 2.82.4. 533s autopkgtest [11:04:16]: test libgio-2.0-dev-bin: -----------------------] 533s autopkgtest [11:04:16]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 533s libgio-2.0-dev-bin PASS (superficial) 534s autopkgtest [11:04:17]: test libglib2.0-dev: preparing testbed 601s autopkgtest [11:05:24]: testbed dpkg architecture: ppc64el 601s autopkgtest [11:05:24]: testbed apt version: 2.9.18 601s autopkgtest [11:05:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 602s autopkgtest [11:05:25]: testbed release detected to be: plucky 602s autopkgtest [11:05:25]: updating testbed package index (apt update) 603s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 603s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 603s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 603s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 603s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 603s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.3 kB] 603s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [139 kB] 603s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [854 kB] 603s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [260 kB] 603s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 603s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [982 kB] 603s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4080 B] 604s Fetched 2335 kB in 1s (2184 kB/s) 605s Reading package lists... 605s Reading package lists... 605s Building dependency tree... 605s Reading state information... 606s Calculating upgrade... 606s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 606s Reading package lists... 606s Building dependency tree... 606s Reading state information... 606s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 606s autopkgtest [11:05:29]: upgrading testbed (apt dist-upgrade and autopurge) 606s Reading package lists... 607s Building dependency tree... 607s Reading state information... 607s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 607s Starting 2 pkgProblemResolver with broken count: 0 607s Done 608s Entering ResolveByKeep 608s 608s The following NEW packages will be installed: 608s login.defs 608s The following packages will be upgraded: 608s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 608s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 608s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 608s Need to get 3680 kB of archives. 608s After this operation, 1376 kB of additional disk space will be used. 608s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdutils ppc64el 1:2.40.2-14ubuntu1 [105 kB] 608s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el eject ppc64el 2.40.2-14ubuntu1 [47.8 kB] 608s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdextrautils ppc64el 2.40.2-14ubuntu1 [92.9 kB] 608s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libfdisk1 ppc64el 2.40.2-14ubuntu1 [188 kB] 608s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el fdisk ppc64el 2.40.2-14ubuntu1 [153 kB] 608s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid1 ppc64el 2.40.2-14ubuntu1 [161 kB] 608s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount1 ppc64el 2.40.2-14ubuntu1 [190 kB] 608s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libsmartcols1 ppc64el 2.40.2-14ubuntu1 [108 kB] 608s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el mount ppc64el 2.40.2-14ubuntu1 [146 kB] 608s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libuuid1 ppc64el 2.40.2-14ubuntu1 [45.3 kB] 608s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el util-linux ppc64el 2.40.2-14ubuntu1 [1176 kB] 608s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-runtime ppc64el 2.40.2-14ubuntu1 [54.6 kB] 608s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 608s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login ppc64el 1:4.16.0-2+really2.40.2-14ubuntu1 [78.7 kB] 608s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el passwd ppc64el 1:4.16.0-7ubuntu1 [1094 kB] 609s Fetched 3680 kB in 1s (4682 kB/s) 609s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 609s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_ppc64el.deb ... 609s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 609s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 609s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 609s Preparing to unpack .../eject_2.40.2-14ubuntu1_ppc64el.deb ... 609s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 609s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_ppc64el.deb ... 609s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 609s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_ppc64el.deb ... 609s Unpacking libfdisk1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 609s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_ppc64el.deb ... 609s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_ppc64el.deb ... 610s Unpacking libblkid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Setting up libblkid1:ppc64el (2.40.2-14ubuntu1) ... 610s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 610s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_ppc64el.deb ... 610s Unpacking libmount1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Setting up libmount1:ppc64el (2.40.2-14ubuntu1) ... 610s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 610s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_ppc64el.deb ... 610s Unpacking libsmartcols1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Setting up libsmartcols1:ppc64el (2.40.2-14ubuntu1) ... 610s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 610s Preparing to unpack .../mount_2.40.2-14ubuntu1_ppc64el.deb ... 610s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_ppc64el.deb ... 610s Unpacking libuuid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Setting up libuuid1:ppc64el (2.40.2-14ubuntu1) ... 610s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 610s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_ppc64el.deb ... 610s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 610s Setting up util-linux (2.40.2-14ubuntu1) ... 611s fstrim.service is a disabled or a static unit not running, not starting it. 611s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74034 files and directories currently installed.) 611s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_ppc64el.deb ... 611s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 611s Selecting previously unselected package login.defs. 611s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 611s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 611s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 611s Setting up login.defs (1:4.16.0-7ubuntu1) ... 611s Installing new version of config file /etc/login.defs ... 611s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74038 files and directories currently installed.) 611s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_ppc64el.deb ... 611s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 611s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_ppc64el.deb ... 611s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 611s Setting up passwd (1:4.16.0-7ubuntu1) ... 611s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 611s Setting up eject (2.40.2-14ubuntu1) ... 611s Setting up libfdisk1:ppc64el (2.40.2-14ubuntu1) ... 611s Setting up mount (2.40.2-14ubuntu1) ... 611s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 612s uuidd.service is a disabled or a static unit not running, not starting it. 613s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 613s Setting up fdisk (2.40.2-14ubuntu1) ... 613s Processing triggers for man-db (2.13.0-1) ... 615s Processing triggers for libc-bin (2.40-4ubuntu1) ... 615s Reading package lists... 616s Building dependency tree... 616s Reading state information... 616s Starting pkgProblemResolver with broken count: 0 616s Starting 2 pkgProblemResolver with broken count: 0 616s Done 616s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 616s autopkgtest [11:05:39]: rebooting testbed after setup commands that affected boot 651s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 660s Reading package lists... 661s Building dependency tree... 661s Reading state information... 661s Starting pkgProblemResolver with broken count: 0 661s Starting 2 pkgProblemResolver with broken count: 0 661s Done 661s The following NEW packages will be installed: 661s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 661s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 661s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 661s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 661s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev 661s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 661s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 661s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 661s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 661s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 661s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 662s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 662s Need to get 64.5 MB of archives. 662s After this operation, 248 MB of additional disk space will be used. 662s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 662s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 662s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [10.5 MB] 662s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-12ubuntu1 [1038 B] 662s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 662s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 662s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-12ubuntu1 [48.1 kB] 662s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-12ubuntu1 [161 kB] 662s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-12ubuntu1 [32.1 kB] 662s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-12ubuntu1 [2945 kB] 662s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-12ubuntu1 [1322 kB] 663s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-12ubuntu1 [2695 kB] 663s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-12ubuntu1 [1191 kB] 663s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-12ubuntu1 [158 kB] 663s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-12ubuntu1 [1620 kB] 663s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [20.6 MB] 663s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-12ubuntu1 [533 kB] 663s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 663s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 663s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-12ubuntu1 [2675 kB] 663s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-12ubuntu1 [12.0 MB] 664s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-12ubuntu1 [20.2 kB] 664s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 664s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 664s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 664s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.82.4-1 [853 kB] 664s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 664s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 664s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 664s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 664s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-dev ppc64el 2.40.2-14ubuntu1 [56.7 kB] 664s Get:32 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid-dev ppc64el 2.40.2-14ubuntu1 [279 kB] 664s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 664s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 664s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 664s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 664s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 664s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu1 [194 kB] 664s Get:39 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount-dev ppc64el 2.40.2-14ubuntu1 [34.6 kB] 664s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.2-1 [61.4 kB] 664s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 664s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 664s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 664s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 664s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.82.4-1 [2152 kB] 664s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 664s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 664s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.4-1 [111 kB] 664s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.4-1 [18.1 kB] 664s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev ppc64el 2.82.4-1 [18.8 kB] 665s Fetched 64.5 MB in 3s (24.3 MB/s) 665s Selecting previously unselected package libisl23:ppc64el. 665s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74036 files and directories currently installed.) 665s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 665s Unpacking libisl23:ppc64el (0.27-1) ... 665s Selecting previously unselected package libmpc3:ppc64el. 665s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 665s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 665s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 665s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package cpp-14. 665s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 665s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 665s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 665s Selecting previously unselected package cpp. 665s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 665s Unpacking cpp (4:14.1.0-2ubuntu1) ... 665s Selecting previously unselected package libcc1-0:ppc64el. 665s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libgomp1:ppc64el. 665s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libgomp1:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libitm1:ppc64el. 665s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libitm1:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libasan8:ppc64el. 665s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libasan8:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package liblsan0:ppc64el. 665s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking liblsan0:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libtsan2:ppc64el. 665s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libtsan2:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libubsan1:ppc64el. 665s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libubsan1:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libquadmath0:ppc64el. 665s Preparing to unpack .../13-libquadmath0_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 665s Selecting previously unselected package libgcc-14-dev:ppc64el. 665s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 665s Unpacking libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 666s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 666s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package gcc-14. 666s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_ppc64el.deb ... 666s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 666s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 666s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 666s Selecting previously unselected package gcc. 666s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 666s Unpacking gcc (4:14.1.0-2ubuntu1) ... 666s Selecting previously unselected package libstdc++-14-dev:ppc64el. 666s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_ppc64el.deb ... 666s Unpacking libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 666s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-12ubuntu1_ppc64el.deb ... 666s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package g++-14. 666s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_ppc64el.deb ... 666s Unpacking g++-14 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package g++-powerpc64le-linux-gnu. 666s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 666s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 666s Selecting previously unselected package g++. 666s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 666s Unpacking g++ (4:14.1.0-2ubuntu1) ... 666s Selecting previously unselected package build-essential. 666s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 666s Unpacking build-essential (12.10ubuntu1) ... 666s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 666s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.4-1_ppc64el.deb ... 666s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 667s Selecting previously unselected package native-architecture. 667s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 667s Unpacking native-architecture (0.2.3) ... 667s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 667s Preparing to unpack .../27-libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 667s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 667s Selecting previously unselected package girepository-tools:ppc64el. 667s Preparing to unpack .../28-girepository-tools_2.82.4-1_ppc64el.deb ... 667s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 667s Selecting previously unselected package libffi-dev:ppc64el. 667s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_ppc64el.deb ... 667s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 667s Selecting previously unselected package uuid-dev:ppc64el. 667s Preparing to unpack .../30-uuid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 667s Unpacking uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 667s Selecting previously unselected package libblkid-dev:ppc64el. 667s Preparing to unpack .../31-libblkid-dev_2.40.2-14ubuntu1_ppc64el.deb ... 667s Unpacking libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 667s Selecting previously unselected package libsepol-dev:ppc64el. 667s Preparing to unpack .../32-libsepol-dev_3.7-1_ppc64el.deb ... 667s Unpacking libsepol-dev:ppc64el (3.7-1) ... 667s Selecting previously unselected package libpcre2-16-0:ppc64el. 667s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 667s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 667s Selecting previously unselected package libpcre2-32-0:ppc64el. 667s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 667s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 667s Selecting previously unselected package libpcre2-posix3:ppc64el. 667s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 667s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 667s Selecting previously unselected package libpcre2-dev:ppc64el. 667s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 667s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 667s Selecting previously unselected package libselinux1-dev:ppc64el. 667s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu1_ppc64el.deb ... 667s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 667s Selecting previously unselected package libmount-dev:ppc64el. 667s Preparing to unpack .../38-libmount-dev_2.40.2-14ubuntu1_ppc64el.deb ... 667s Unpacking libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 667s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 667s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_ppc64el.deb ... 667s Unpacking libsysprof-capture-4-dev:ppc64el (47.2-1) ... 667s Selecting previously unselected package libpkgconf3:ppc64el. 667s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 667s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 667s Selecting previously unselected package pkgconf-bin. 667s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 667s Unpacking pkgconf-bin (1.8.1-4) ... 667s Selecting previously unselected package pkgconf:ppc64el. 667s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 667s Unpacking pkgconf:ppc64el (1.8.1-4) ... 667s Selecting previously unselected package zlib1g-dev:ppc64el. 667s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 667s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 667s Selecting previously unselected package libgio-2.0-dev:ppc64el. 667s Preparing to unpack .../44-libgio-2.0-dev_2.82.4-1_ppc64el.deb ... 667s Unpacking libgio-2.0-dev:ppc64el (2.82.4-1) ... 667s Selecting previously unselected package python3-packaging. 667s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 667s Unpacking python3-packaging (24.2-1) ... 667s Selecting previously unselected package libgio-2.0-dev-bin. 667s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 667s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 667s Selecting previously unselected package libglib2.0-bin. 667s Preparing to unpack .../47-libglib2.0-bin_2.82.4-1_ppc64el.deb ... 667s Unpacking libglib2.0-bin (2.82.4-1) ... 667s Selecting previously unselected package libglib2.0-dev-bin. 667s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_ppc64el.deb ... 667s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 667s Selecting previously unselected package libglib2.0-dev:ppc64el. 667s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_ppc64el.deb ... 667s Unpacking libglib2.0-dev:ppc64el (2.82.4-1) ... 667s Setting up native-architecture (0.2.3) ... 667s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 667s Setting up libglib2.0-bin (2.82.4-1) ... 667s Setting up libgomp1:ppc64el (14.2.0-12ubuntu1) ... 667s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 667s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 667s Setting up libsysprof-capture-4-dev:ppc64el (47.2-1) ... 667s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 667s Setting up python3-packaging (24.2-1) ... 668s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 668s Setting up uuid-dev:ppc64el (2.40.2-14ubuntu1) ... 668s Setting up libquadmath0:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 668s Setting up libsepol-dev:ppc64el (3.7-1) ... 668s Setting up pkgconf-bin (1.8.1-4) ... 668s Setting up libubsan1:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 668s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 668s Setting up gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 668s Setting up libasan8:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libtsan2:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libisl23:ppc64el (0.27-1) ... 668s Setting up libcc1-0:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up liblsan0:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libitm1:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libblkid-dev:ppc64el (2.40.2-14ubuntu1) ... 668s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 668s Setting up girepository-tools:ppc64el (2.82.4-1) ... 668s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 668s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 668s Setting up pkgconf:ppc64el (1.8.1-4) ... 668s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 668s Setting up cpp-14 (14.2.0-12ubuntu1) ... 668s Setting up libgcc-14-dev:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libstdc++-14-dev:ppc64el (14.2.0-12ubuntu1) ... 668s Setting up libmount-dev:ppc64el (2.40.2-14ubuntu1) ... 668s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 668s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 668s Setting up libglib2.0-dev-bin (2.82.4-1) ... 668s Setting up libgio-2.0-dev:ppc64el (2.82.4-1) ... 668s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-12ubuntu1) ... 668s Setting up gcc-14 (14.2.0-12ubuntu1) ... 668s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 668s Setting up cpp (4:14.1.0-2ubuntu1) ... 668s Setting up g++-14 (14.2.0-12ubuntu1) ... 668s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 668s Setting up gcc (4:14.1.0-2ubuntu1) ... 668s Setting up g++ (4:14.1.0-2ubuntu1) ... 668s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 668s Setting up build-essential (12.10ubuntu1) ... 668s Processing triggers for install-info (7.1.1-1) ... 668s Processing triggers for libc-bin (2.40-4ubuntu1) ... 668s Processing triggers for man-db (2.13.0-1) ... 670s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 670s No schema files found: doing nothing. 670s Setting up libglib2.0-dev:ppc64el (2.82.4-1) ... 675s autopkgtest [11:06:38]: test libglib2.0-dev: [----------------------- 675s + debian/tests/build 675s + mode=dynamic 675s + getopt -o --long static -n debian/tests/build -- 675s + getopt_temp= -- 675s + eval set -- -- 675s + set -- -- 675s + true 675s + shift 675s + break 675s + mktemp -d 675s + WORKDIR=/tmp/tmp.3TFcsUFsdW 675s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 675s + cd /tmp/tmp.3TFcsUFsdW 675s + [ -n ] 675s + CROSS_COMPILE= 675s + cat 675s + cat 675s + cat 675s + cat 675s + cat 675s + cat 675s + cflags= 675s + pcflags= 675s + packages=glib-2.0 675s + pkg-config --cflags --libs glib-2.0 675s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 675s + echo build (glib, dynamic): OK 675s + [ -x glib-dynamic ] 675s + foo=bar ./glib-dynamic 675s build (glib, dynamic): OK 675s run (glib, dynamic): OK 675s + echo run (glib, dynamic): OK 675s + cflags= 675s + pcflags= 675s + packages=gobject-2.0 675s + pkg-config --cflags --libs gobject-2.0 675s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 675s build (gobject, dynamic): OK 675s + echo build (gobject, dynamic): OK 675s + [ -x gobject-dynamic ] 675s + foo=bar ./gobject-dynamic 675s + echo run (gobject, dynamic): OK 675s + cflags= 675s + pcflags= 675s + packages=gio-2.0 675s + pkg-config --cflags --libs gio-2.0 675s run (gobject, dynamic): OK 675s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 675s build (gio, dynamic): OK 675s + echo build (gio, dynamic): OK 675s + [ -x gio-dynamic ] 675s + foo=bar ./gio-dynamic 675s + echo run (gio, dynamic): OK 675s + cflags= 675s + pcflags= 675s + packages=gio-unix-2.0 675s + pkg-config --cflags --libs gio-unix-2.0 675s run (gio, dynamic): OK 675s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 676s build (gio-unix, dynamic): OK 676s + echo build (gio-unix, dynamic): OK 676s + [ -x gio-unix-dynamic ] 676s + foo=bar ./gio-unix-dynamic 676s + echo run (gio-unix, dynamic): OK 676s + cflags= 676s + pcflags= 676s + packages=gmodule-2.0 676s run (gio-unix, dynamic): OK 676s + pkg-config --cflags --libs gmodule-2.0 676s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 676s build (gmodule, dynamic): OK 676s + echo build (gmodule, dynamic): OK 676s + [ -x gmodule-dynamic ] 676s + foo=bar ./gmodule-dynamic 676s + echo run (gmodule, dynamic): OK 676s run (gmodule, dynamic): OK 676s + cflags= 676s + pcflags= 676s + packages=gthread-2.0 676s + pkg-config --cflags --libs gthread-2.0 676s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 676s build (gthread, dynamic): OK 676s run (gthread, dynamic): OK 676s + echo build (gthread, dynamic): OK 676s + [ -x gthread-dynamic ] 676s + foo=bar ./gthread-dynamic 676s + echo run (gthread, dynamic): OK 676s + rm -rf /tmp/tmp.3TFcsUFsdW 676s + debian/tests/build-static 676s + mode=dynamic 676s + getopt -o --long static -n debian/tests/build -- --static 676s + getopt_temp= --static -- 676s + eval set -- --static -- 676s + set -- --static -- 676s + true 676s + mode=static 676s + shift 676s + continue 676s + true 676s + shift 676s + break 676s + mktemp -d 676s + WORKDIR=/tmp/tmp.I90dMdmXnd 676s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 676s + cd /tmp/tmp.I90dMdmXnd 676s + [ -n ] 676s + CROSS_COMPILE= 676s + cat 676s + cat 676s + cat 676s + cat 676s + cat 676s + cat 676s + cflags= 676s + pcflags= 676s + packages=glib-2.0 676s + cflags=-static 676s + pcflags=--static 676s + pkg-config --static --cflags --libs glib-2.0 676s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 676s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 676s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s build (glib, static): OK 676s + echo build (glib, static): OK 676s + [ -x glib-static ] 676s + foo=bar ./glib-static 676s + echo run (glib, static): OK 676s + cflags= 676s + pcflags= 676s + packages=gobject-2.0 676s + cflags=-static 676s + pcflags=--static 676s run (glib, static): OK 676s + pkg-config --static --cflags --libs gobject-2.0 676s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 676s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 676s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s build (gobject, static): OK 676s run (gobject, static): OK 676s + echo build (gobject, static): OK 676s + [ -x gobject-static ] 676s + foo=bar ./gobject-static 676s + echo run (gobject, static): OK 676s + cflags= 676s + pcflags= 676s + packages=gio-2.0 676s + cflags=-static 676s + pcflags=--static 676s + continue 676s + cflags= 676s + pcflags= 676s + packages=gio-unix-2.0 676s + cflags=-static 676s + pcflags=--static 676s + continue 676s + cflags= 676s + pcflags= 676s + packages=gmodule-2.0 676s + cflags=-static 676s + pcflags=--static 676s + pkg-config --static --cflags --libs gmodule-2.0 676s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 676s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 676s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 676s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 676s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 677s build (gmodule, static): OK 677s + echo build (gmodule, static): OK 677s + [ -x gmodule-static ] 677s + foo=bar ./gmodule-static 677s + echo run (gmodule, static): OK 677s + cflags= 677s + pcflags= 677s + packages=gthread-2.0 677s + cflags=-static 677s + pcflags=--static 677s + run (gmodule, static): OK 677s pkg-config --static --cflags --libs gthread-2.0 677s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 677s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 677s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 677s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 677s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 677s build (gthread, static): OK 677s + echo build (gthread, static): OK 677s + [ -x gthread-static ] 677s + foo=bar ./gthread-static 677s + echo run (gthread, static): OK 677s + rm -rf /tmp/tmp.I90dMdmXnd 677s run (gthread, static): OK 677s + debian/tests/girepository-tools 677s + cd /tmp/autopkgtest.U3etz3/autopkgtest_tmp 677s + dpkg-architecture -qDEB_HOST_GNU_TYPE 677s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 677s + dpkg-architecture -qDEB_HOST_MULTIARCH 677s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 677s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 677s typelib: GLib-2.0 677s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 677s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 677s + debian/tests/libgio-2.0-dev-bin 677s + gdbus-codegen --help 677s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 677s [--c-namespace NAMESPACE] [--c-generate-object-manager] 677s [--c-generate-autocleanup {none,objects,all}] 677s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 677s [--generate-rst OUTFILES] [--pragma-once] 677s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 677s [--glib-min-required VERSION] 677s [--glib-max-allowed VERSION] 677s [--symbol-decorator SYMBOL_DECORATOR] 677s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 677s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 677s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 677s [--output FILE | --output-directory OUTDIR] 677s FILE [FILE ...] 677s 677s D-Bus code and documentation generator 677s 677s positional arguments: 677s FILE D-Bus introspection XML file 677s 677s options: 677s -h, --help show this help message and exit 677s --interface-prefix PREFIX 677s String to strip from D-Bus interface names for code 677s and docs 677s --c-namespace NAMESPACE 677s The namespace to use for generated C code 677s --c-generate-object-manager 677s Generate a GDBusObjectManagerClient subclass when 677s generating C code 677s --c-generate-autocleanup {none,objects,all} 677s Generate autocleanup support 677s --generate-docbook OUTFILES 677s Generate Docbook in OUTFILES-org.Project.IFace.xml 677s --generate-md OUTFILES 677s Generate Markdown in OUTFILES-org.Project.IFace.md 677s --generate-rst OUTFILES 677s Generate reStructuredText in OUTFILES- 677s org.Project.IFace.rst 677s --pragma-once Use "pragma once" as the inclusion guard 677s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 677s Add annotation (may be used several times) 677s --glib-min-required VERSION 677s Minimum version of GLib to be supported by the 677s outputted code (default: 2.30) 677s --glib-max-allowed VERSION 677s Maximum version of GLib to be used by the outputted 677s code (default: current GLib version) 677s --symbol-decorator SYMBOL_DECORATOR 677s Macro used to decorate a symbol in the outputted 677s header, possibly to export symbols 677s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 677s Additional header required for decorator specified by 677s --symbol-decorator 677s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 677s Additional define required for decorator specified by 677s --symbol-decorator 677s --generate-c-code OUTFILES 677s Generate C code in OUTFILES.[ch] 677s --header Generate C headers 677s --body Generate C code 677s --interface-info-header 677s Generate GDBusInterfaceInfo C header 677s --interface-info-body 677s Generate GDBusInterfaceInfo C code 677s --output FILE Write output into the specified file 677s --output-directory OUTDIR 677s Location to output generated files 677s + glib-compile-resources --version 677s 2.82.4 677s + glib-genmarshal --version 677s glib-genmarshal version 2.82.4 677s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 677s You may redistribute copies of glib-genmarshal under the terms of 677s the GNU General Public License which can be found in the 677s GLib source package. Sources, examples and contact 677s information are available at http://www.gtk.org 677s + glib-gettextize --version 677s /usr/bin/glib-gettextize (GNU glib) 2.82.4 677s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 677s This is free software; see the source for copying conditions. There is NO 677s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 677s Written by Ulrich Drepper 677s + glib-mkenums --version 677s glib-mkenums version 2.82.4 677s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 677s You may redistribute copies of glib-mkenums under the terms of 677s the GNU General Public License which can be found in the 677s GLib source package. Sources, examples and contact 677s information are available at http://www.gtk.org 677s + gobject-query tree 677s GObject 677s gtester version 2.82.4 677s + gtester --version 677s + gtester-report --version 677s gtester-report (GLib utils) version 2.82.4. 677s + cd /tmp/autopkgtest.U3etz3/autopkgtest_tmp 677s + dpkg-architecture -qDEB_HOST_MULTIARCH 677s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 677s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 677s typelib: GLib-2.0 677s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 677s + gi-decompile-typelib -o GLib.gir GLib.typelib 678s autopkgtest [11:06:41]: test libglib2.0-dev: -----------------------] 678s autopkgtest [11:06:41]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 678s libglib2.0-dev PASS (superficial) 679s autopkgtest [11:06:42]: test installed-tests: preparing testbed 750s autopkgtest [11:07:53]: testbed dpkg architecture: ppc64el 750s autopkgtest [11:07:53]: testbed apt version: 2.9.18 750s autopkgtest [11:07:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 750s autopkgtest [11:07:53]: testbed release detected to be: plucky 751s autopkgtest [11:07:54]: updating testbed package index (apt update) 752s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 752s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 752s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 752s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 752s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 752s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [854 kB] 752s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.3 kB] 752s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [139 kB] 752s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [260 kB] 752s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 752s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [982 kB] 752s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4080 B] 753s Fetched 2335 kB in 1s (1931 kB/s) 753s Reading package lists... 754s Reading package lists... 754s Building dependency tree... 754s Reading state information... 754s Calculating upgrade... 755s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 755s Reading package lists... 755s Building dependency tree... 755s Reading state information... 755s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 755s autopkgtest [11:07:58]: upgrading testbed (apt dist-upgrade and autopurge) 755s Reading package lists... 755s Building dependency tree... 755s Reading state information... 756s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 756s Starting 2 pkgProblemResolver with broken count: 0 756s Done 756s Entering ResolveByKeep 756s 757s The following NEW packages will be installed: 757s login.defs 757s The following packages will be upgraded: 757s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 757s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 757s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 757s Need to get 3680 kB of archives. 757s After this operation, 1376 kB of additional disk space will be used. 757s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdutils ppc64el 1:2.40.2-14ubuntu1 [105 kB] 757s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el eject ppc64el 2.40.2-14ubuntu1 [47.8 kB] 757s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdextrautils ppc64el 2.40.2-14ubuntu1 [92.9 kB] 757s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libfdisk1 ppc64el 2.40.2-14ubuntu1 [188 kB] 757s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el fdisk ppc64el 2.40.2-14ubuntu1 [153 kB] 757s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid1 ppc64el 2.40.2-14ubuntu1 [161 kB] 757s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount1 ppc64el 2.40.2-14ubuntu1 [190 kB] 757s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libsmartcols1 ppc64el 2.40.2-14ubuntu1 [108 kB] 757s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el mount ppc64el 2.40.2-14ubuntu1 [146 kB] 757s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libuuid1 ppc64el 2.40.2-14ubuntu1 [45.3 kB] 757s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el util-linux ppc64el 2.40.2-14ubuntu1 [1176 kB] 757s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-runtime ppc64el 2.40.2-14ubuntu1 [54.6 kB] 757s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 757s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login ppc64el 1:4.16.0-2+really2.40.2-14ubuntu1 [78.7 kB] 757s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el passwd ppc64el 1:4.16.0-7ubuntu1 [1094 kB] 758s Fetched 3680 kB in 1s (3548 kB/s) 758s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 758s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 758s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 758s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 758s Preparing to unpack .../eject_2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 758s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 758s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking libfdisk1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 758s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 758s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking libblkid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 758s Setting up libblkid1:ppc64el (2.40.2-14ubuntu1) ... 758s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 758s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_ppc64el.deb ... 758s Unpacking libmount1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 759s Setting up libmount1:ppc64el (2.40.2-14ubuntu1) ... 759s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 759s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_ppc64el.deb ... 759s Unpacking libsmartcols1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 759s Setting up libsmartcols1:ppc64el (2.40.2-14ubuntu1) ... 759s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 759s Preparing to unpack .../mount_2.40.2-14ubuntu1_ppc64el.deb ... 759s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 759s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_ppc64el.deb ... 759s Unpacking libuuid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 759s Setting up libuuid1:ppc64el (2.40.2-14ubuntu1) ... 759s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 759s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_ppc64el.deb ... 759s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 759s Setting up util-linux (2.40.2-14ubuntu1) ... 760s fstrim.service is a disabled or a static unit not running, not starting it. 760s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74034 files and directories currently installed.) 760s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_ppc64el.deb ... 760s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 760s Selecting previously unselected package login.defs. 760s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 760s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 760s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 760s Setting up login.defs (1:4.16.0-7ubuntu1) ... 760s Installing new version of config file /etc/login.defs ... 760s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74038 files and directories currently installed.) 760s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_ppc64el.deb ... 760s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 760s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_ppc64el.deb ... 760s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 760s Setting up passwd (1:4.16.0-7ubuntu1) ... 760s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 760s Setting up eject (2.40.2-14ubuntu1) ... 760s Setting up libfdisk1:ppc64el (2.40.2-14ubuntu1) ... 760s Setting up mount (2.40.2-14ubuntu1) ... 760s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 761s uuidd.service is a disabled or a static unit not running, not starting it. 761s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 761s Setting up fdisk (2.40.2-14ubuntu1) ... 761s Processing triggers for man-db (2.13.0-1) ... 763s Processing triggers for libc-bin (2.40-4ubuntu1) ... 763s Reading package lists... 763s Building dependency tree... 763s Reading state information... 763s Starting pkgProblemResolver with broken count: 0 763s Starting 2 pkgProblemResolver with broken count: 0 763s Done 764s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 764s autopkgtest [11:08:07]: rebooting testbed after setup commands that affected boot 799s Reading package lists... 799s Building dependency tree... 799s Reading state information... 799s Starting pkgProblemResolver with broken count: 0 799s Starting 2 pkgProblemResolver with broken count: 0 799s Done 800s The following NEW packages will be installed: 800s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 800s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 800s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 800s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 800s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 800s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 800s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 800s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 800s native-architecture python3-dbusmock python3-packaging tzdata-legacy 800s x11-common x11-xkb-utils xserver-common xvfb 800s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 800s Need to get 15.6 MB of archives. 800s After this operation, 86.4 MB of additional disk space will be used. 800s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu5 [24.4 kB] 800s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 800s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 800s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 800s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 800s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 800s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-radeon1 ppc64el 2.4.123-1 [29.0 kB] 800s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 800s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwayland-server0 ppc64el 1.23.0-1 [41.3 kB] 800s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 800s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglapi-mesa ppc64el 24.2.8-1ubuntu1 [44.6 kB] 800s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B] 800s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri2-0 ppc64el 1.17.0-2 [7508 B] 800s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 800s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 800s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 800s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 800s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B] 800s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el mesa-libgallium ppc64el 24.2.8-1ubuntu1 [9164 kB] 801s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgbm1 ppc64el 24.2.8-1ubuntu1 [38.2 kB] 801s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 801s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 801s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libvulkan1 ppc64el 1.3.296.0-1 [163 kB] 801s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1-mesa-dri ppc64el 24.2.8-1ubuntu1 [34.1 kB] 801s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.4-1 [111 kB] 801s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.4-1 [18.1 kB] 801s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-dbusmock all 0.34.0-1 [92.2 kB] 801s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 801s Get:29 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libglib2.0-tests ppc64el 2.82.4-1 [2208 kB] 802s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 802s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 802s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfixes3 ppc64el 1:6.0.0-2build1 [11.8 kB] 802s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 802s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx-mesa0 ppc64el 24.2.8-1ubuntu1 [187 kB] 802s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 802s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 802s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 802s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 802s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 802s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 802s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 802s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 802s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 802s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 802s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 802s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 802s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 802s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 802s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 802s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 802s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 802s Get:52 http://ftpmaster.internal/ubuntu plucky/universe ppc64el xvfb ppc64el 2:21.1.14-2ubuntu1 [1095 kB] 802s Fetched 15.6 MB in 2s (6827 kB/s) 802s Selecting previously unselected package dbus-x11. 803s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74036 files and directories currently installed.) 803s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_ppc64el.deb ... 803s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 803s Selecting previously unselected package desktop-file-utils. 803s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 803s Unpacking desktop-file-utils (0.28-1) ... 803s Selecting previously unselected package native-architecture. 803s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 803s Unpacking native-architecture (0.2.3) ... 803s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 803s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 803s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 803s Selecting previously unselected package girepository-tools:ppc64el. 803s Preparing to unpack .../04-girepository-tools_2.82.4-1_ppc64el.deb ... 803s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 803s Selecting previously unselected package gnome-desktop-testing. 803s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 803s Unpacking gnome-desktop-testing (2021.1-4) ... 803s Selecting previously unselected package libdrm-radeon1:ppc64el. 803s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_ppc64el.deb ... 803s Unpacking libdrm-radeon1:ppc64el (2.4.123-1) ... 803s Selecting previously unselected package libfontenc1:ppc64el. 803s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 803s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 803s Selecting previously unselected package libwayland-server0:ppc64el. 803s Preparing to unpack .../08-libwayland-server0_1.23.0-1_ppc64el.deb ... 803s Unpacking libwayland-server0:ppc64el (1.23.0-1) ... 803s Selecting previously unselected package libxcb-randr0:ppc64el. 803s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_ppc64el.deb ... 803s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 803s Selecting previously unselected package libglapi-mesa:ppc64el. 803s Preparing to unpack .../10-libglapi-mesa_24.2.8-1ubuntu1_ppc64el.deb ... 803s Unpacking libglapi-mesa:ppc64el (24.2.8-1ubuntu1) ... 803s Selecting previously unselected package libx11-xcb1:ppc64el. 803s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ... 803s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ... 803s Selecting previously unselected package libxcb-dri2-0:ppc64el. 803s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_ppc64el.deb ... 803s Unpacking libxcb-dri2-0:ppc64el (1.17.0-2) ... 803s Selecting previously unselected package libxcb-dri3-0:ppc64el. 803s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 803s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 803s Selecting previously unselected package libxcb-present0:ppc64el. 803s Preparing to unpack .../14-libxcb-present0_1.17.0-2_ppc64el.deb ... 803s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 803s Selecting previously unselected package libxcb-sync1:ppc64el. 803s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_ppc64el.deb ... 803s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 803s Selecting previously unselected package libxcb-xfixes0:ppc64el. 803s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 803s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 803s Selecting previously unselected package libxshmfence1:ppc64el. 803s Preparing to unpack .../17-libxshmfence1_1.3-1build5_ppc64el.deb ... 803s Unpacking libxshmfence1:ppc64el (1.3-1build5) ... 803s Selecting previously unselected package mesa-libgallium:ppc64el. 803s Preparing to unpack .../18-mesa-libgallium_24.2.8-1ubuntu1_ppc64el.deb ... 803s Unpacking mesa-libgallium:ppc64el (24.2.8-1ubuntu1) ... 803s Selecting previously unselected package libgbm1:ppc64el. 803s Preparing to unpack .../19-libgbm1_24.2.8-1ubuntu1_ppc64el.deb ... 803s Unpacking libgbm1:ppc64el (24.2.8-1ubuntu1) ... 803s Selecting previously unselected package python3-packaging. 803s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 803s Unpacking python3-packaging (24.2-1) ... 803s Selecting previously unselected package libgio-2.0-dev-bin. 803s Preparing to unpack .../21-libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 803s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 803s Selecting previously unselected package libvulkan1:ppc64el. 803s Preparing to unpack .../22-libvulkan1_1.3.296.0-1_ppc64el.deb ... 803s Unpacking libvulkan1:ppc64el (1.3.296.0-1) ... 803s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 803s Preparing to unpack .../23-libgl1-mesa-dri_24.2.8-1ubuntu1_ppc64el.deb ... 803s Unpacking libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1) ... 803s Selecting previously unselected package libglib2.0-bin. 803s Preparing to unpack .../24-libglib2.0-bin_2.82.4-1_ppc64el.deb ... 803s Unpacking libglib2.0-bin (2.82.4-1) ... 803s Selecting previously unselected package libglib2.0-dev-bin. 803s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.4-1_ppc64el.deb ... 803s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 803s Selecting previously unselected package python3-dbusmock. 803s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ... 803s Unpacking python3-dbusmock (0.34.0-1) ... 803s Selecting previously unselected package tzdata-legacy. 803s Preparing to unpack .../27-tzdata-legacy_2024b-4ubuntu1_all.deb ... 803s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 803s Selecting previously unselected package libglib2.0-tests. 803s Preparing to unpack .../28-libglib2.0-tests_2.82.4-1_ppc64el.deb ... 803s Unpacking libglib2.0-tests (2.82.4-1) ... 804s Selecting previously unselected package libxcb-glx0:ppc64el. 804s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_ppc64el.deb ... 804s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 804s Selecting previously unselected package libxcb-shm0:ppc64el. 804s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_ppc64el.deb ... 804s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 804s Selecting previously unselected package libxfixes3:ppc64el. 804s Preparing to unpack .../31-libxfixes3_1%3a6.0.0-2build1_ppc64el.deb ... 804s Unpacking libxfixes3:ppc64el (1:6.0.0-2build1) ... 804s Selecting previously unselected package libxxf86vm1:ppc64el. 804s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 804s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 804s Selecting previously unselected package libglx-mesa0:ppc64el. 804s Preparing to unpack .../33-libglx-mesa0_24.2.8-1ubuntu1_ppc64el.deb ... 804s Unpacking libglx-mesa0:ppc64el (24.2.8-1ubuntu1) ... 804s Selecting previously unselected package x11-common. 804s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 804s Unpacking x11-common (1:7.7+23ubuntu3) ... 804s Selecting previously unselected package libice6:ppc64el. 804s Preparing to unpack .../35-libice6_2%3a1.1.1-1_ppc64el.deb ... 804s Unpacking libice6:ppc64el (2:1.1.1-1) ... 804s Selecting previously unselected package libpixman-1-0:ppc64el. 804s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_ppc64el.deb ... 804s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 804s Selecting previously unselected package libsm6:ppc64el. 804s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_ppc64el.deb ... 804s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 804s Selecting previously unselected package libxt6t64:ppc64el. 804s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 804s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 804s Selecting previously unselected package libxmu6:ppc64el. 804s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 804s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 804s Selecting previously unselected package libxpm4:ppc64el. 804s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 804s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 804s Selecting previously unselected package libxaw7:ppc64el. 804s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 804s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 804s Selecting previously unselected package libxfont2:ppc64el. 804s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 804s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 804s Selecting previously unselected package libxkbfile1:ppc64el. 804s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 804s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 804s Selecting previously unselected package libxrender1:ppc64el. 804s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 804s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 804s Selecting previously unselected package libxrandr2:ppc64el. 804s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 804s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 804s Selecting previously unselected package x11-xkb-utils. 804s Preparing to unpack .../46-x11-xkb-utils_7.7+9_ppc64el.deb ... 804s Unpacking x11-xkb-utils (7.7+9) ... 804s Selecting previously unselected package xserver-common. 804s Preparing to unpack .../47-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 804s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 804s Selecting previously unselected package libglvnd0:ppc64el. 804s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_ppc64el.deb ... 804s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 804s Selecting previously unselected package libglx0:ppc64el. 804s Preparing to unpack .../49-libglx0_1.7.0-1build1_ppc64el.deb ... 804s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 804s Selecting previously unselected package libgl1:ppc64el. 804s Preparing to unpack .../50-libgl1_1.7.0-1build1_ppc64el.deb ... 804s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 804s Selecting previously unselected package xvfb. 804s Preparing to unpack .../51-xvfb_2%3a21.1.14-2ubuntu1_ppc64el.deb ... 804s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 804s Setting up gnome-desktop-testing (2021.1-4) ... 804s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 804s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 804s Setting up libwayland-server0:ppc64el (1.23.0-1) ... 804s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ... 804s Setting up native-architecture (0.2.3) ... 804s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 804s Setting up desktop-file-utils (0.28-1) ... 804s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 804s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 804s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 804s Setting up libdrm-radeon1:ppc64el (2.4.123-1) ... 804s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 804s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 804s Setting up x11-common (1:7.7+23ubuntu3) ... 804s Setting up libglib2.0-bin (2.82.4-1) ... 804s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 804s Setting up python3-dbusmock (0.34.0-1) ... 805s Setting up tzdata-legacy (2024b-4ubuntu1) ... 805s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 805s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 805s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 805s Setting up python3-packaging (24.2-1) ... 805s Setting up libxfixes3:ppc64el (1:6.0.0-2build1) ... 805s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 805s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 805s Setting up libglapi-mesa:ppc64el (24.2.8-1ubuntu1) ... 805s Setting up libvulkan1:ppc64el (1.3.296.0-1) ... 805s Setting up libxcb-dri2-0:ppc64el (1.17.0-2) ... 805s Setting up libxshmfence1:ppc64el (1.3-1build5) ... 805s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 805s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 805s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 805s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 805s Setting up libice6:ppc64el (2:1.1.1-1) ... 805s Setting up mesa-libgallium:ppc64el (24.2.8-1ubuntu1) ... 805s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 805s Setting up girepository-tools:ppc64el (2.82.4-1) ... 805s Setting up libgbm1:ppc64el (24.2.8-1ubuntu1) ... 805s Setting up libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1) ... 805s Setting up libsm6:ppc64el (2:1.2.4-1) ... 805s Setting up libglib2.0-dev-bin (2.82.4-1) ... 805s Setting up libglx-mesa0:ppc64el (24.2.8-1ubuntu1) ... 805s Setting up libglx0:ppc64el (1.7.0-1build1) ... 805s Setting up libgl1:ppc64el (1.7.0-1build1) ... 805s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 805s Setting up libglib2.0-tests (2.82.4-1) ... 805s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 805s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 805s Setting up x11-xkb-utils (7.7+9) ... 805s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 805s Setting up xvfb (2:21.1.14-2ubuntu1) ... 805s Processing triggers for man-db (2.13.0-1) ... 806s Processing triggers for libc-bin (2.40-4ubuntu1) ... 810s autopkgtest [11:08:53]: test installed-tests: [----------------------- 811s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 811s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 811s group entry: ubuntu:x:1000: 811s Environment: 811s ADTTMP=/tmp/autopkgtest.U3etz3/autopkgtest_tmp 811s ADT_ARTIFACTS=/tmp/autopkgtest.U3etz3/installed-tests-artifacts 811s ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2 811s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.U3etz3/installed-tests-artifacts 811s AUTOPKGTEST_TESTBED_ARCH=ppc64el 811s AUTOPKGTEST_TEST_ARCH=ppc64el 811s AUTOPKGTEST_TMP=/tmp/autopkgtest.U3etz3/autopkgtest_tmp 811s DEBIAN_FRONTEND=noninteractive 811s DEB_BUILD_OPTIONS=parallel=2 811s GIO_USE_VFS=local 811s GIO_USE_VOLUME_MONITOR=unix 811s HOME=/home/ubuntu 811s LANG=C.UTF-8 811s LOGNAME=ubuntu 811s MAIL=/var/mail/ubuntu 811s OLDPWD=/home/ubuntu 811s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 811s PWD=/tmp/autopkgtest.U3etz3/build.oBW/src 811s SHELL=/bin/bash 811s SHLVL=1 811s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests 811s SUDO_GID=1000 811s SUDO_UID=1000 811s SUDO_USER=ubuntu 811s TERM=linux 811s USER=ubuntu 811s XDG_RUNTIME_DIR=/tmp/autopkgtest.U3etz3/autopkgtest_tmp 811s http_proxy=http://squid.internal:3128 811s https_proxy=http://squid.internal:3128 811s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 811s run-with-locales: de_DE=ISO-8859-1... 811s Character set: ISO-8859-1 811s Source file: de_DE 811s Output: /tmp/tmp.IBlEijTUm0/de_DE 811s run-with-locales: de_DE.utf8... 811s Character set: UTF-8 811s Source file: de_DE 811s Output: /tmp/tmp.IBlEijTUm0/de_DE.utf8 813s run-with-locales: de_DE@euro.utf8... 813s Character set: UTF-8 813s Source file: de_DE@euro 813s Output: /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8 814s run-with-locales: el_GR.utf8... 814s Character set: UTF-8 814s Source file: el_GR 814s Output: /tmp/tmp.IBlEijTUm0/el_GR.utf8 815s run-with-locales: en_GB=ISO-8859-1... 815s Character set: ISO-8859-1 815s Source file: en_GB 815s Output: /tmp/tmp.IBlEijTUm0/en_GB 816s run-with-locales: en_GB.utf8... 816s Character set: UTF-8 816s Source file: en_GB 816s Output: /tmp/tmp.IBlEijTUm0/en_GB.utf8 817s run-with-locales: en_US=ISO-8859-1... 817s Character set: ISO-8859-1 817s Source file: en_US 817s Output: /tmp/tmp.IBlEijTUm0/en_US 818s run-with-locales: en_US.utf8... 818s Character set: UTF-8 818s Source file: en_US 818s Output: /tmp/tmp.IBlEijTUm0/en_US.utf8 819s run-with-locales: es_ES.utf8... 819s Character set: UTF-8 819s Source file: es_ES 819s Output: /tmp/tmp.IBlEijTUm0/es_ES.utf8 821s run-with-locales: fa_IR=UTF-8... 821s Character set: UTF-8 821s Source file: fa_IR 821s Output: /tmp/tmp.IBlEijTUm0/fa_IR 822s run-with-locales: fa_IR.utf8... 822s Character set: UTF-8 822s Source file: fa_IR 822s Output: /tmp/tmp.IBlEijTUm0/fa_IR.utf8 824s run-with-locales: fr_FR.utf8... 824s Character set: UTF-8 824s Source file: fr_FR 824s Output: /tmp/tmp.IBlEijTUm0/fr_FR.utf8 825s run-with-locales: hr_HR.utf8... 825s Character set: UTF-8 825s Source file: hr_HR 825s Output: /tmp/tmp.IBlEijTUm0/hr_HR.utf8 826s run-with-locales: ja_JP.utf8... 826s Character set: UTF-8 826s Source file: ja_JP 826s Output: /tmp/tmp.IBlEijTUm0/ja_JP.utf8 827s run-with-locales: ja_JP.EUC-JP... 827s Character set: EUC-JP 827s Source file: ja_JP 827s Output: /tmp/tmp.IBlEijTUm0/ja_JP.eucjp 827s run-with-locales: lt_LT.utf8... 827s Character set: UTF-8 827s Source file: lt_LT 827s Output: /tmp/tmp.IBlEijTUm0/lt_LT.utf8 829s run-with-locales: pl_PL=ISO-8859-2... 829s Character set: ISO-8859-2 829s Source file: pl_PL 829s Output: /tmp/tmp.IBlEijTUm0/pl_PL 829s run-with-locales: pl_PL.ISO-8859-2... 829s Character set: ISO-8859-2 829s Source file: pl_PL 829s Output: /tmp/tmp.IBlEijTUm0/pl_PL.iso88592 830s run-with-locales: pl_PL.utf8... 830s Character set: UTF-8 830s Source file: pl_PL 830s Output: /tmp/tmp.IBlEijTUm0/pl_PL.utf8 831s run-with-locales: ru_RU=ISO-8859-5... 831s Character set: ISO-8859-5 831s Source file: ru_RU 831s Output: /tmp/tmp.IBlEijTUm0/ru_RU 831s run-with-locales: ru_RU.utf8... 831s Character set: UTF-8 831s Source file: ru_RU 831s Output: /tmp/tmp.IBlEijTUm0/ru_RU.utf8 833s run-with-locales: sr_RS=UTF-8... 833s Character set: UTF-8 833s Source file: sr_RS 833s Output: /tmp/tmp.IBlEijTUm0/sr_RS 834s run-with-locales: sr_RS@latin=UTF-8... 834s Character set: UTF-8 834s Source file: sr_RS@latin 834s Output: /tmp/tmp.IBlEijTUm0/sr_RS@latin 836s run-with-locales: sv_SE=ISO-8859-1... 836s Character set: ISO-8859-1 836s Source file: sv_SE 836s Output: /tmp/tmp.IBlEijTUm0/sv_SE 836s run-with-locales: sv_SE.utf8... 836s Character set: UTF-8 836s Source file: sv_SE 836s Output: /tmp/tmp.IBlEijTUm0/sv_SE.utf8 837s run-with-locales: tr_TR=ISO-8859-9... 837s Character set: ISO-8859-9 837s Source file: tr_TR 837s Output: /tmp/tmp.IBlEijTUm0/tr_TR 838s run-with-locales: tr_TR.utf8... 838s Character set: UTF-8 838s Source file: tr_TR 838s Output: /tmp/tmp.IBlEijTUm0/tr_TR.utf8 839s run-with-locales: tt_RU=UTF-8... 839s Character set: UTF-8 839s Source file: tt_RU 839s Output: /tmp/tmp.IBlEijTUm0/tt_RU 840s run-with-locales: tt_RU.utf8... 840s Character set: UTF-8 840s Source file: tt_RU 840s Output: /tmp/tmp.IBlEijTUm0/tt_RU.utf8 842s run-with-locales: tt_RU@iqtelif=UTF-8... 842s Character set: UTF-8 842s Source file: tt_RU@iqtelif 842s Output: /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif 843s /tmp/tmp.IBlEijTUm0 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_US 843s /tmp/tmp.IBlEijTUm0/en_US/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/en_US/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/en_US/LC_TIME 843s /tmp/tmp.IBlEijTUm0/en_US/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/en_US/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/en_US/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/en_US/LC_NAME 843s /tmp/tmp.IBlEijTUm0/en_US/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/en_US/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/en_US/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/en_US/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/en_US/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_US/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tt_RU 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_TIME 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_NAME 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_TIME 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_NAME 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tr_TR 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_TIME 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_NAME 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/pl_PL 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_TIME 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_NAME 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_US.utf8 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sr_RS 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_TIME 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_NAME 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ru_RU 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_TIME 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_NAME 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_TIME 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_NAME 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_TIME 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_NAME 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_TIME 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_NAME 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/fa_IR 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_TIME 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_NAME 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_GB 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_TIME 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_NAME 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sv_SE 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_TIME 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_NAME 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/de_DE 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_TIME 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_NAME 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_TELEPHONE 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_IDENTIFICATION 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_TIME 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_CTYPE 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_PAPER 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_COLLATE 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_NAME 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_ADDRESS 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_NUMERIC 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_MONETARY 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_MEASUREMENT 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_MESSAGES 843s /tmp/tmp.IBlEijTUm0/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 843s 1..319 843s # Running test: glib/init.test 843s TAP version 14 843s # random seed: R02Sac71325cd8f307b2736cc05b692aa0d2 843s 1..2 843s # Start of thread tests 843s # Start of deprecated tests 843s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/home 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/cache 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_7OVO02/thread/deprecated/init/.dirs/system-config2 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/config 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_7OVO02/thread/deprecated/init/.dirs/system-data2 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/data 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/state 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7OVO02/thread/deprecated/init/.dirs/runtime 843s ok 1 /thread/deprecated/init 843s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 843s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7OVO02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 843s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 843s # End of deprecated tests 843s # End of thread tests 843s ok - glib/init.test 843s # Running test: glib/markup-collect.test 843s TAP version 14 843s # random seed: R02S0cabe8443a742735e3a8bf643e1c72e8 843s 1..21 843s # Start of markup tests 843s # Start of collect tests 843s ok 1 /markup/collect/0 843s ok 2 /markup/collect/1 843s ok 3 /markup/collect/2 843s ok 4 /markup/collect/3 843s ok 5 /markup/collect/4 843s ok 6 /markup/collect/5 843s ok 7 /markup/collect/6 843s ok 8 /markup/collect/7 843s ok 9 /markup/collect/8 843s ok 10 /markup/collect/9 843s ok 11 /markup/collect/10 843s ok 12 /markup/collect/11 843s ok 13 /markup/collect/12 843s ok 14 /markup/collect/13 843s ok 15 /markup/collect/14 843s ok 16 /markup/collect/15 843s ok 17 /markup/collect/16 843s ok 18 /markup/collect/17 843s ok 19 /markup/collect/18 843s ok 20 /markup/collect/19 843s ok 21 /markup/collect/cleanup 843s # End of collect tests 843s # End of markup tests 843s ok - glib/markup-collect.test 843s # Running test: glib/queue.test 843s TAP version 14 843s # random seed: R02S2e63f7474096fb48e6a8ac70f736b4ba 843s 1..12 843s # Start of queue tests 843s ok 1 /queue/basic 843s ok 2 /queue/copy 843s ok 3 /queue/off-by-one 843s ok 4 /queue/find-custom 843s ok 5 /queue/static 843s ok 6 /queue/clear 843s ok 7 /queue/free-full 843s ok 8 /queue/clear-full 843s ok 9 /queue/insert-sibling-link 843s ok 10 /queue/push-nth-link 843s # Start of clear-full tests 843s ok 11 /queue/clear-full/noop 843s # End of clear-full tests 843s # Start of random tests 843s ok 12 /queue/random/seed:271389723 843s # End of random tests 843s # End of queue tests 843s ok - glib/queue.test 843s # Running test: glib/thumbnail-verification.test 843s TAP version 14 843s # random seed: R02S6802549c56666d9d8ad56814f7300d00 843s 1..1 843s # Start of png-thumbs tests 843s ok 1 /png-thumbs/validity 843s # End of png-thumbs tests 843s ok - glib/thumbnail-verification.test 843s # Running test: glib/atomic-c-89.test 843s TAP version 14 843s # random seed: R02S68a66bd55965a23abbdfc5f8cd0b51af 843s 1..2 843s # Start of atomic tests 843s ok 1 /atomic/types 843s ok 2 /atomic/threaded 843s # End of atomic tests 843s ok - glib/atomic-c-89.test 843s # Running test: glib/uri.test 843s TAP version 14 843s # random seed: R02S4e7ad5fda91088891f04fcf780e21833 843s 1..24 843s # Start of uri tests 843s ok 1 /uri/file-to-uri 843s ok 2 /uri/file-from-uri 843s ok 3 /uri/file-roundtrip 843s ok 4 /uri/list 843s # Test 0: %2Babc %4F 843s # Test 1: %2Babc %4F 843s # Test 2: %00abc %4F 843s # Test 3: /cursors/none.png 843s # Test 4: /cursors%2fbad-subdir/none.png 843s # Test 5: %0 843s # Test 6: %ra 843s # Test 7: %2r 843s # Test 8: Timm B?der 843s # Test 9: (null) 843s ok 5 /uri/unescape-string 843s ok 6 /uri/unescape-segment 843s # Test 0: abcdefgABCDEFG._~ 843s # Test 1: :+ \\?# 843s # Test 2: a+b:c 843s # Test 3: a+b:c\303\234 843s # Test 4: \374;\322 843s # Test 5: \303\261\303( 843s ok 7 /uri/escape-string 843s ok 8 /uri/escape-bytes 843s ok 9 /uri/scheme 843s ok 10 /uri/build 843s ok 11 /uri/split 843s ok 12 /uri/is_valid 843s ok 13 /uri/to-string 843s ok 14 /uri/join 843s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 843s # Combination 0 843s # Combination 1 843s # Combination 2 843s # Combination 3 843s # Combination 4 843s # Combination 5 843s # Combination 6 843s # Combination 7 843s # Combination 8 843s # Combination 9 843s # Combination 10 843s # Combination 11 843s # Combination 12 843s # Combination 13 843s # Combination 14 843s # Combination 15 843s # Combination 16 843s # Combination 17 843s # Combination 18 843s # Combination 19 843s # Combination 20 843s # Combination 21 843s # Combination 22 843s # Combination 23 843s # Combination 24 843s # Combination 25 843s # Combination 26 843s # Combination 27 843s # Combination 28 843s # Combination 29 843s # Combination 30 843s # Combination 31 843s # Combination 32 843s # Combination 33 843s # Combination 34 843s # Combination 35 843s # Combination 36 843s # Combination 37 843s # Combination 38 843s # Combination 39 843s # Combination 40 843s # Combination 41 843s # Combination 42 843s # Combination 43 843s # Combination 44 843s # Combination 45 843s # Combination 46 843s # Combination 47 843s # Combination 48 843s # Combination 49 843s # Combination 50 843s # Combination 51 843s # Combination 52 843s # Combination 53 843s # Combination 54 843s # Combination 55 843s # Combination 56 843s # Combination 57 843s # Combination 58 843s # Combination 59 843s # Combination 60 843s # Combination 61 843s # Combination 62 843s # Combination 63 843s # Combination 64 843s # Combination 65 843s # Combination 66 843s # Combination 67 843s # Combination 68 843s # Combination 69 843s # Combination 70 843s # Combination 71 843s # Combination 72 843s # Combination 73 843s # Combination 74 843s # Combination 75 843s # Combination 76 843s # Combination 77 843s # Combination 78 843s # Combination 79 843s # Combination 80 843s # Combination 81 843s # Combination 82 843s # Combination 83 843s # Combination 84 843s # Combination 85 843s # Combination 86 843s # Combination 87 843s # Combination 88 843s # Combination 89 843s # Combination 90 843s # Combination 91 843s # Combination 92 843s # Combination 93 843s # Combination 94 843s # Combination 95 843s # Combination 96 843s # Combination 97 843s # Combination 98 843s # Combination 99 843s # Combination 100 843s # Combination 101 843s # Combination 102 843s # Combination 103 843s # Combination 104 843s # Combination 105 843s # Combination 106 843s # Combination 107 843s # Combination 108 843s # Combination 109 843s # Combination 110 843s # Combination 111 843s # Combination 112 843s # Combination 113 843s # Combination 114 843s # Combination 115 843s # Combination 116 843s # Combination 117 843s # Combination 118 843s # Combination 119 843s # Combination 120 843s # Combination 121 843s # Combination 122 843s # Combination 123 843s # Combination 124 843s # Combination 125 843s # Combination 126 843s # Combination 127 843s # Combination 128 843s # Combination 129 843s # Combination 130 843s # Combination 131 843s # Combination 132 843s # Combination 133 843s # Combination 134 843s # Combination 135 843s # Combination 136 843s # Combination 137 843s # Combination 138 843s # Combination 139 843s # Combination 140 843s # Combination 141 843s # Combination 142 843s # Combination 143 843s # Combination 144 843s # Combination 145 843s # Combination 146 843s # Combination 147 843s # Combination 148 843s # Combination 149 843s # Combination 150 843s # Combination 151 843s # Combination 152 843s # Combination 153 843s # Combination 154 843s # Combination 155 843s # Combination 156 843s # Combination 157 843s # Combination 158 843s # Combination 159 843s # Combination 160 843s # Combination 161 843s # Combination 162 843s # Combination 163 843s # Combination 164 843s # Combination 165 843s # Combination 166 843s # Combination 167 843s # Combination 168 843s # Combination 169 843s # Combination 170 843s # Combination 171 843s # Combination 172 843s # Combination 173 843s # Combination 174 843s # Combination 175 843s # Combination 176 843s # Combination 177 843s # Combination 178 843s # Combination 179 843s # Combination 180 843s # Combination 181 843s # Combination 182 843s # Combination 183 843s # Combination 184 843s # Combination 185 843s # Combination 186 843s # Combination 187 843s # Combination 188 843s # Combination 189 843s # Combination 190 843s # Combination 191 843s # Combination 192 843s # Combination 193 843s # Combination 194 843s # Combination 195 843s # Combination 196 843s # Combination 197 843s # Combination 198 843s # Combination 199 843s # Combination 200 843s # Combination 201 843s # Combination 202 843s # Combination 203 843s # Combination 204 843s # Combination 205 843s # Combination 206 843s # Combination 207 843s # Combination 208 843s # Combination 209 843s # Combination 210 843s # Combination 211 843s # Combination 212 843s # Combination 213 843s # Combination 214 843s # Combination 215 843s # Combination 216 843s # Combination 217 843s # Combination 218 843s # Combination 219 843s # Combination 220 843s # Combination 221 843s # Combination 222 843s # Combination 223 843s # Combination 224 843s # Combination 225 843s # Combination 226 843s # Combination 227 843s # Combination 228 843s # Combination 229 843s # Combination 230 843s # Combination 231 843s # Combination 232 843s # Combination 233 843s # Combination 234 843s # Combination 235 843s # Combination 236 843s # Combination 237 843s # Combination 238 843s # Combination 239 843s # Combination 240 843s # Combination 241 843s # Combination 242 843s # Combination 243 843s # Combination 244 843s # Combination 245 843s # Combination 246 843s # Combination 247 843s # Combination 248 843s # Combination 249 843s # Combination 250 843s # Combination 251 843s # Combination 252 843s # Combination 253 843s # Combination 254 843s # Combination 255 843s ok 15 /uri/join-split-round-trip 843s ok 16 /uri/normalize 843s # Start of unescape-bytes tests 843s # Test 0: %00%00 843s # Test 1: /cursors/none.png 843s # Test 2: /cursors%2fbad-subdir/none.png 843s # Test 3: %% 843s # Test 4: % 843s ok 17 /uri/unescape-bytes/nul-terminated 843s # Test 0: %00%00 843s # Test 1: /cursors/none.png 843s # Test 2: /cursors%2fbad-subdir/none.png 843s # Test 3: %% 843s # Test 4: % 843s ok 18 /uri/unescape-bytes/length 843s # End of unescape-bytes tests 843s # Start of parsing tests 843s # Test 0: foo: 843s # Test 1: file:/dev/null 843s # Test 2: file:///dev/null 843s # Test 3: ftp://user@host/path 843s # Test 4: ftp://user@host:9999/path 843s # Test 5: ftp://user:password@host/path 843s # Test 6: ftp://user:password@host:9999/path 843s # Test 7: ftp://user:password@host 843s # Test 8: http://us%65r@host 843s # Test 9: http://us%40r@host 843s # Test 10: http://us%3ar@host 843s # Test 11: http://us%2fr@host 843s # Test 12: http://us%3fr@host 843s # Test 13: http://host?query 843s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 843s # Test 15: http://control-chars/%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%7F 843s # Test 16: http://space/%20 843s # Test 17: http://delims/%3C%3E%23%25%22 843s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 843s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 843s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 843s # Test 21: http://[3ffe:2a00:100:7031::1] 843s # Test 22: http://[1080::8:800:200C:417A]/foo 843s # Test 23: http://[::192.9.5.5]/ipng 843s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 843s # Test 25: http://[2010:836B:4179::836B:4179] 843s # Test 26: http://host/path with spaces 843s # Test 27: http://host/path 843s # Test 28: http://host/path 843s # Test 29: http://host 843s # Test 30: http://host:999 843s # Test 31: http://host/pa 843s # th 843s # Test 32: http: 843s # //host/path 843s # Test 33: http:// host/path 843s # Test 34: http://host/path? 843s # Test 35: http://host/path# 843s # Test 36: http://host/path% 843s # Test 37: http://h%ost/path 843s # Test 38: http://host/path%% 843s # Test 39: http://host/path%%% 843s # Test 40: http://host/path%/x/ 843s # Test 41: http://host/path%0x/ 843s # Test 42: http://host/path%ax 843s # Test 43: http://host/p?th/ 843s # Test 44: HTTP://////////////// 843s # Test 45: http://@host 843s # Test 46: http://:@host 843s # Test 47: scheme://foo%3Abar._webdav._tcp.local 843s # Test 48: http://example.com/.. 843s # Test 49: foo0://host/path 843s # Test 50: f0.o://host/path 843s # Test 51: http++://host/path 843s # Test 52: http-ish://host/path 843s # Test 53: http://[fe80::dead:beef%]/ 843s # Test 54: http://[fe80::dead:beef%em1]/ 843s # Test 55: http://[fe80::dead:beef%em1]/ 843s # Test 56: http://[fe80::dead:beef%25em1]/ 843s # Test 57: http://[fe80::dead:beef%25em1%20]/ 843s # Test 58: http://[fe80::dead:beef%25em%31]/ 843s # Test 59: http://[fe80::dead:beef%10]/ 843s # Test 60: http://[fe80::dead:beef%10]/ 843s # Test 61: http://[fe80::dead:beef%25]/ 843s # Test 62: http://[fe80::dead:beef%25]/ 843s # Test 63: http://[192.168.0.1%25em1]/ 843s # Test 64: http://[fe80::dead:beef%2em1]/ 843s # Test 65: http://[fe80::dead:beef%2em1]/ 843s # Test 66: http://[fe80::dead:beef%25em1%00]/ 843s # Test 67: http://[fe80::dead:beef%25em1%00]/ 843s # Test 68: http://xn--mixed-?p/ 843s ok 19 /uri/parsing/absolute 843s ok 20 /uri/parsing/relative 843s # End of parsing tests 843s # Start of iter-params tests 843s # URI 0: p1=foo&p2=bar;p3=baz 843s # URI 1: p1=foo&p2=bar 843s # URI 2: p1=foo&&P1=bar 843s # URI 3: %00=foo 843s # URI 4: p1=%00 843s # URI 5: p1=foo&p1=bar 843s # URI 6: p1=foo&P1=bar 843s # URI 7: =% 843s # URI 8: = 843s # URI 9: foo 843s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 843s ok 21 /uri/iter-params/nul-terminated 843s # URI 0: p1=foo&p2=bar;p3=baz 843s # URI 1: p1=foo&p2=bar 843s # URI 2: p1=foo&&P1=bar 843s # URI 3: %00=foo 843s # URI 4: p1=%00 843s # URI 5: p1=foo&p1=bar 843s # URI 6: p1=foo&P1=bar 843s # URI 7: =% 843s # URI 8: = 843s # URI 9: foo 843s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 843s ok 22 /uri/iter-params/length 843s # End of iter-params tests 843s # Start of parse-params tests 843s # URI 0: p1=foo&p2=bar;p3=baz 843s # URI 1: p1=foo&p2=bar 843s # URI 2: p1=foo&&P1=bar 843s # URI 3: %00=foo 843s # URI 4: p1=%00 843s # URI 5: p1=foo&p1=bar 843s # URI 6: p1=foo&P1=bar 843s # URI 7: =% 843s # URI 8: = 843s # URI 9: foo 843s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 843s ok 23 /uri/parse-params/nul-terminated 843s # URI 0: p1=foo&p2=bar;p3=baz 843s # URI 1: p1=foo&p2=bar 843s # URI 2: p1=foo&&P1=bar 843s # URI 3: %00=foo 843s # URI 4: p1=%00 843s # URI 5: p1=foo&p1=bar 843s # URI 6: p1=foo&P1=bar 843s # URI 7: =% 843s # URI 8: = 843s # URI 9: foo 843s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 843s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 843s ok 24 /uri/parse-params/length 843s # End of parse-params tests 843s # End of uri tests 843s ok - glib/uri.test 843s # Running test: glib/unicode-normalize.test 843s TAP version 14 843s # random seed: R02Se2fb80d5f17c8cf3d607874e9862d89f 843s 1..3 843s # Start of unicode tests 843s # Processing Part0 # Specific cases 843s # Processing Part1 # Character by character test 844s # Processing Part2 # Canonical Order Test 844s # Processing Part3 # PRI #29 Test 844s ok 1 /unicode/normalize 844s # Invalid UTF-8 vector 0 844s # Invalid UTF-8 vector 1 844s # Invalid UTF-8 vector 2 844s # Invalid UTF-8 vector 3 844s # Invalid UTF-8 vector 4 844s # Invalid UTF-8 vector 5 844s # Invalid UTF-8 vector 6 844s # Invalid UTF-8 vector 7 844s # Invalid UTF-8 vector 8 844s # Invalid UTF-8 vector 9 844s # Invalid UTF-8 vector 10 844s # Invalid UTF-8 vector 11 844s # Invalid UTF-8 vector 12 844s ok 2 /unicode/normalize-invalid 844s # Start of normalize tests 844s ok 3 /unicode/normalize/bad-length 844s # End of normalize tests 844s # End of unicode tests 844s ok - glib/unicode-normalize.test 844s # Running test: glib/utils-c-89.test 844s TAP version 14 844s # random seed: R02Se1a6f9b6d704ceb539fe4fefd96e7ee4 844s 1..40 844s # Start of utils tests 844s ok 1 /utils/language-names 844s ok 2 /utils/locale-variants 844s ok 3 /utils/version 844s ok 4 /utils/appname 844s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 844s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 844s ok 5 /utils/prgname-thread-safety 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 844s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 844s ok 6 /utils/tmpdir 844s ok 7 /utils/basic_bits 844s ok 8 /utils/bits 844s ok 9 /utils/swap 844s ok 10 /utils/find-program 844s ok 11 /utils/find-program-for-path 844s ok 12 /utils/debug 844s ok 13 /utils/codeset 844s ok 14 /utils/codeset2 844s ok 15 /utils/console-charset 844s ok 16 /utils/gettext 844s ok 17 /utils/username 844s ok 18 /utils/realname 844s ok 19 /utils/hostname 844s ok 20 /utils/xdgdirs 844s ok 21 /utils/specialdir 844s # NAME: Ubuntu 844s ok 22 /utils/os-info 844s ok 23 /utils/clear-pointer 844s ok 24 /utils/clear-pointer-cast 844s ok 25 /utils/take-pointer 844s ok 26 /utils/clear-source 844s ok 27 /utils/misc-mem 844s # /utils/aligned-mem summary: Aligned memory allocator 844s # Alignment must not be zero 844s # Alignment must be a power of two 844s # Alignment must be a multiple of sizeof(void*) 844s ok 28 /utils/aligned-mem 844s # /utils/free-sized summary: Check that g_free_sized() works 844s ok 29 /utils/free-sized 844s ok 30 /utils/nullify 844s ok 31 /utils/atexit 844s ok 32 /utils/check-setuid 844s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 844s ok 33 /utils/int-limits 844s ok 34 /utils/clear-list 844s ok 35 /utils/clear-slist 844s # Start of specialdir tests 844s ok 36 /utils/specialdir/desktop 844s # End of specialdir tests 844s # Start of clear-pointer tests 844s ok 37 /utils/clear-pointer/side-effects 844s # End of clear-pointer tests 844s # Start of aligned-mem tests 844s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 844s ok 38 /utils/aligned-mem/alignment 844s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 844s ok 39 /utils/aligned-mem/zeroed 844s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 844s ok 40 /utils/aligned-mem/free-sized 844s # Start of subprocess tests 844s # End of subprocess tests 844s # End of aligned-mem tests 844s # End of utils tests 844s ok - glib/utils-c-89.test 844s # Running test: glib/utf8-pointer.test 844s TAP version 14 844s # random seed: R02S465c4ad4c7f227cfd173ef9ab48237fc 844s 1..3 844s # Start of utf8 tests 845s ok 1 /utf8/offsets 845s # slow test /utf8/offsets executed in 0.79 secs 845s ok 2 /utf8/lengths 845s ok 3 /utf8/find 845s # End of utf8 tests 845s ok - glib/utf8-pointer.test 845s # Running test: glib/permission.test 845s TAP version 14 845s # random seed: R02Sfcab02c5cc988c1d0b037d2a18be7419 845s 1..1 845s # Start of permission tests 845s ok 1 /permission/simple 845s # End of permission tests 845s ok - glib/permission.test 845s # Running test: glib/object-info.test 845s TAP version 14 845s # random seed: R02Seaaab6f948b419ca933f6ab0e73d5975 845s 1..2 845s # Start of object-info tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_MI4F02/object-info/find-method-using-interfaces/.dirs/runtime 845s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 845s ok 1 /object-info/find-method-using-interfaces 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_MI4F02/object-info/find-vfunc-using-interfaces/.dirs/runtime 845s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 845s ok 2 /object-info/find-vfunc-using-interfaces 845s # End of object-info tests 845s ok - glib/object-info.test 845s # Running test: glib/inet-address.test 845s TAP version 14 845s # random seed: R02Sc2eac8d481b6f11c0f94e6d277c02006 845s 1..11 845s # Start of inet-address tests 845s ok 1 /inet-address/parse 845s ok 2 /inet-address/any 845s ok 3 /inet-address/loopback 845s ok 4 /inet-address/bytes 845s ok 5 /inet-address/property 845s # End of inet-address tests 845s # Start of socket-address tests 845s ok 6 /socket-address/basic 845s ok 7 /socket-address/to-string 845s # End of socket-address tests 845s # Start of address-mask tests 845s ok 8 /address-mask/parse 845s ok 9 /address-mask/property 845s ok 10 /address-mask/equal 845s ok 11 /address-mask/match 845s # End of address-mask tests 845s ok - glib/inet-address.test 845s # Running test: glib/hash.test 845s TAP version 14 845s # random seed: R02S9bcf93d3c6317c7537df14543609d14f 845s 1..34 845s # Start of hash tests 845s ok 1 /hash/misc 845s ok 2 /hash/one 845s ok 3 /hash/honeyman 845s ok 4 /hash/direct 845s ok 5 /hash/direct2 845s ok 6 /hash/int 845s ok 7 /hash/int64 845s ok 8 /hash/double 845s ok 9 /hash/string 845s ok 10 /hash/set 845s ok 11 /hash/set-ref 845s ok 12 /hash/ref 845s ok 13 /hash/remove-all 845s ok 14 /hash/recursive-remove-all 845s ok 15 /hash/find 845s ok 16 /hash/foreach 845s ok 17 /hash/foreach-steal 845s ok 18 /hash/steal-extended 845s ok 19 /hash/steal-all-keys 845s ok 20 /hash/steal-all-values 845s ok 21 /hash/lookup-extended 845s ok 22 /hash/new-similar 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 845s ok 23 /hash/lookup-null-key 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 845s ok 24 /hash/destroy-modify 845s ok 25 /hash/consistency 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 845s ok 26 /hash/iter-replace 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 845s ok 27 /hash/set-insert-corruption 845s ok 28 /hash/set-to-strv 845s ok 29 /hash/get-keys-as-ptr-array 845s ok 30 /hash/get-values-as-ptr-array 845s ok 31 /hash/primes 845s # Start of int64 tests 845s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 845s ok 32 /hash/int64/collisions 845s # End of int64 tests 845s # Start of double tests 845s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 845s ok 33 /hash/double/collisions 845s # End of double tests 845s # Start of recursive-remove-all tests 845s # End of recursive-remove-all tests 845s # Start of steal-extended tests 845s ok 34 /hash/steal-extended/optional 845s # End of steal-extended tests 845s # End of hash tests 845s ok - glib/hash.test 845s # Running test: glib/pollable.test 845s TAP version 14 845s # random seed: R02Sb02aff2a5f00559db077a1c5720559b8 845s 1..6 845s # Start of pollable tests 845s ok 1 /pollable/converter 845s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 845s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x87f368cf7d0 and GSocketClientAsyncConnectData 0x87f368c2ad0 845s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 845s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 845s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x87f368d0850 for GSocketClientAsyncConnectData 0x87f368c2ad0 845s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 845s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 845s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 845s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 845s ok 2 /pollable/socket 845s # Start of unix tests 845s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 845s ok 3 /pollable/unix/pipe 845s # /pollable/unix/pty summary: Test that PTYs are considered pollable 845s ok 4 /pollable/unix/pty 845s # /pollable/unix/file summary: Test that regular files are not considered pollable 845s ok 5 /pollable/unix/file 845s # /pollable/unix/nulldev summary: Test that /dev/null is not considered pollable, but only if on a system where we are able to tell it apart from devices that actually implement poll 845s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 845s # End of unix tests 845s # End of pollable tests 845s ok - glib/pollable.test 845s # Running test: glib/rand.test 845s TAP version 14 845s # random seed: R02S076d3abbba7e6b1bc9f659fe6d931283 845s 1..2 845s # Start of rand tests 845s ok 1 /rand/test-rand 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 845s ok 2 /rand/double-range 845s # End of rand tests 845s ok - glib/rand.test 845s # Running test: glib/regex.test 845s TAP version 14 845s # random seed: R02Sfd8c4f53d36f51d93aa8fec97a04e672 845s 1..848 845s # Start of regex tests 845s ok 1 /regex/properties 845s ok 2 /regex/class 845s ok 3 /regex/lookahead 845s ok 4 /regex/lookbehind 845s ok 5 /regex/subpattern 845s ok 6 /regex/condition 845s ok 7 /regex/recursion 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 845s ok 8 /regex/multiline 845s ok 9 /regex/explicit-crlf 845s ok 10 /regex/max-lookbehind 845s ok 11 /regex/compile-errors 845s ok 12 /regex/jit-unsupported-matching 845s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 845s ok 13 /regex/unmatched-named-subpattern 845s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 845s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 845s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 845s ok 14 /regex/compiled-regex-after-jit-failure 845s # Start of new tests 845s ok 15 /regex/new/1 845s ok 16 /regex/new/2 845s ok 17 /regex/new/3 845s ok 18 /regex/new/4 845s ok 19 /regex/new/5 845s ok 20 /regex/new/6 845s ok 21 /regex/new/7 845s ok 22 /regex/new/8 845s ok 23 /regex/new/9 845s ok 24 /regex/new/10 845s ok 25 /regex/new/11 845s ok 26 /regex/new/12 845s ok 27 /regex/new/13 845s ok 28 /regex/new/14 845s ok 29 /regex/new/15 845s ok 30 /regex/new/16 845s ok 31 /regex/new/17 845s ok 32 /regex/new/18 845s ok 33 /regex/new/19 845s ok 34 /regex/new/71 845s ok 35 /regex/new/80 845s ok 36 /regex/new/82 845s # End of new tests 845s # Start of new-check-flags tests 845s ok 37 /regex/new-check-flags/20 845s ok 38 /regex/new-check-flags/21 845s ok 39 /regex/new-check-flags/22 845s ok 40 /regex/new-check-flags/23 845s ok 41 /regex/new-check-flags/24 845s ok 42 /regex/new-check-flags/25 845s ok 43 /regex/new-check-flags/26 845s ok 44 /regex/new-check-flags/27 845s ok 45 /regex/new-check-flags/28 845s ok 46 /regex/new-check-flags/29 845s ok 47 /regex/new-check-flags/30 845s ok 48 /regex/new-check-flags/31 845s ok 49 /regex/new-check-flags/32 845s ok 50 /regex/new-check-flags/33 845s ok 51 /regex/new-check-flags/34 845s ok 52 /regex/new-check-flags/35 845s ok 53 /regex/new-check-flags/36 845s # End of new-check-flags tests 845s # Start of new-fail tests 845s ok 54 /regex/new-fail/37 845s ok 55 /regex/new-fail/38 845s ok 56 /regex/new-fail/39 845s ok 57 /regex/new-fail/40 845s ok 58 /regex/new-fail/41 845s ok 59 /regex/new-fail/42 845s ok 60 /regex/new-fail/43 845s ok 61 /regex/new-fail/44 845s ok 62 /regex/new-fail/45 845s ok 63 /regex/new-fail/46 845s ok 64 /regex/new-fail/47 845s ok 65 /regex/new-fail/48 845s ok 66 /regex/new-fail/49 845s ok 67 /regex/new-fail/50 845s ok 68 /regex/new-fail/51 845s ok 69 /regex/new-fail/52 845s ok 70 /regex/new-fail/53 845s ok 71 /regex/new-fail/54 845s ok 72 /regex/new-fail/55 845s ok 73 /regex/new-fail/56 845s ok 74 /regex/new-fail/57 845s ok 75 /regex/new-fail/58 845s ok 76 /regex/new-fail/59 845s ok 77 /regex/new-fail/60 845s ok 78 /regex/new-fail/61 845s ok 79 /regex/new-fail/62 845s ok 80 /regex/new-fail/63 845s ok 81 /regex/new-fail/64 845s ok 82 /regex/new-fail/65 845s ok 83 /regex/new-fail/66 845s ok 84 /regex/new-fail/67 845s ok 85 /regex/new-fail/68 845s ok 86 /regex/new-fail/69 845s ok 87 /regex/new-fail/70 845s ok 88 /regex/new-fail/72 845s ok 89 /regex/new-fail/73 845s ok 90 /regex/new-fail/74 845s ok 91 /regex/new-fail/75 845s ok 92 /regex/new-fail/76 845s ok 93 /regex/new-fail/77 845s ok 94 /regex/new-fail/78 845s ok 95 /regex/new-fail/79 845s ok 96 /regex/new-fail/81 845s ok 97 /regex/new-fail/83 845s ok 98 /regex/new-fail/84 845s ok 99 /regex/new-fail/85 845s ok 100 /regex/new-fail/86 845s ok 101 /regex/new-fail/87 845s ok 102 /regex/new-fail/88 845s ok 103 /regex/new-fail/89 845s ok 104 /regex/new-fail/90 845s ok 105 /regex/new-fail/91 845s # End of new-fail tests 845s # Start of match-simple tests 845s ok 106 /regex/match-simple/92 845s ok 107 /regex/match-simple/93 845s ok 108 /regex/match-simple/94 845s ok 109 /regex/match-simple/95 845s ok 110 /regex/match-simple/96 845s ok 111 /regex/match-simple/97 845s ok 112 /regex/match-simple/98 845s ok 113 /regex/match-simple/99 845s ok 114 /regex/match-simple/100 845s ok 115 /regex/match-simple/101 845s ok 116 /regex/match-simple/102 845s ok 117 /regex/match-simple/103 845s ok 118 /regex/match-simple/104 845s ok 119 /regex/match-simple/105 845s ok 120 /regex/match-simple/106 845s ok 121 /regex/match-simple/107 845s ok 122 /regex/match-simple/108 845s ok 123 /regex/match-simple/109 845s ok 124 /regex/match-simple/110 845s ok 125 /regex/match-simple/111 845s ok 126 /regex/match-simple/112 845s ok 127 /regex/match-simple/113 845s ok 128 /regex/match-simple/114 845s ok 129 /regex/match-simple/115 845s ok 130 /regex/match-simple/116 845s ok 131 /regex/match-simple/117 845s ok 132 /regex/match-simple/118 845s ok 133 /regex/match-simple/119 845s ok 134 /regex/match-simple/120 845s ok 135 /regex/match-simple/121 845s ok 136 /regex/match-simple/122 845s ok 137 /regex/match-simple/123 845s ok 138 /regex/match-simple/124 845s ok 139 /regex/match-simple/125 845s ok 140 /regex/match-simple/126 845s ok 141 /regex/match-simple/127 845s ok 142 /regex/match-simple/128 845s ok 143 /regex/match-simple/129 845s ok 144 /regex/match-simple/130 845s ok 145 /regex/match-simple/131 845s ok 146 /regex/match-simple/132 845s ok 147 /regex/match-simple/133 845s ok 148 /regex/match-simple/134 845s ok 149 /regex/match-simple/135 845s ok 150 /regex/match-simple/136 845s ok 151 /regex/match-simple/137 845s ok 152 /regex/match-simple/138 845s ok 153 /regex/match-simple/139 845s ok 154 /regex/match-simple/140 845s ok 155 /regex/match-simple/141 845s ok 156 /regex/match-simple/142 845s ok 157 /regex/match-simple/143 845s ok 158 /regex/match-simple/144 845s ok 159 /regex/match-simple/145 845s ok 160 /regex/match-simple/146 845s ok 161 /regex/match-simple/147 845s ok 162 /regex/match-simple/148 845s ok 163 /regex/match-simple/149 845s ok 164 /regex/match-simple/150 845s ok 165 /regex/match-simple/151 845s ok 166 /regex/match-simple/152 845s ok 167 /regex/match-simple/153 845s ok 168 /regex/match-simple/154 845s ok 169 /regex/match-simple/155 845s ok 170 /regex/match-simple/156 845s ok 171 /regex/match-simple/157 845s ok 172 /regex/match-simple/158 845s ok 173 /regex/match-simple/159 845s ok 174 /regex/match-simple/160 845s ok 175 /regex/match-simple/161 845s ok 176 /regex/match-simple/162 845s ok 177 /regex/match-simple/163 845s ok 178 /regex/match-simple/164 845s # End of match-simple tests 845s # Start of match-simple-optimized tests 845s ok 179 /regex/match-simple-optimized/92 845s ok 180 /regex/match-simple-optimized/93 845s ok 181 /regex/match-simple-optimized/94 845s ok 182 /regex/match-simple-optimized/95 845s ok 183 /regex/match-simple-optimized/96 845s ok 184 /regex/match-simple-optimized/97 845s ok 185 /regex/match-simple-optimized/98 845s ok 186 /regex/match-simple-optimized/99 845s ok 187 /regex/match-simple-optimized/100 845s ok 188 /regex/match-simple-optimized/101 845s ok 189 /regex/match-simple-optimized/102 845s ok 190 /regex/match-simple-optimized/103 845s ok 191 /regex/match-simple-optimized/104 845s ok 192 /regex/match-simple-optimized/105 845s ok 193 /regex/match-simple-optimized/106 845s ok 194 /regex/match-simple-optimized/107 845s ok 195 /regex/match-simple-optimized/108 845s ok 196 /regex/match-simple-optimized/109 845s ok 197 /regex/match-simple-optimized/110 845s ok 198 /regex/match-simple-optimized/111 845s ok 199 /regex/match-simple-optimized/112 845s ok 200 /regex/match-simple-optimized/113 845s ok 201 /regex/match-simple-optimized/114 845s ok 202 /regex/match-simple-optimized/115 845s ok 203 /regex/match-simple-optimized/116 845s ok 204 /regex/match-simple-optimized/117 845s ok 205 /regex/match-simple-optimized/118 845s ok 206 /regex/match-simple-optimized/119 845s ok 207 /regex/match-simple-optimized/120 845s ok 208 /regex/match-simple-optimized/121 845s ok 209 /regex/match-simple-optimized/122 845s ok 210 /regex/match-simple-optimized/123 845s ok 211 /regex/match-simple-optimized/124 845s ok 212 /regex/match-simple-optimized/125 845s ok 213 /regex/match-simple-optimized/126 845s ok 214 /regex/match-simple-optimized/127 845s ok 215 /regex/match-simple-optimized/128 845s ok 216 /regex/match-simple-optimized/129 845s ok 217 /regex/match-simple-optimized/130 845s ok 218 /regex/match-simple-optimized/131 845s ok 219 /regex/match-simple-optimized/132 845s ok 220 /regex/match-simple-optimized/133 845s ok 221 /regex/match-simple-optimized/134 845s ok 222 /regex/match-simple-optimized/135 845s ok 223 /regex/match-simple-optimized/136 845s ok 224 /regex/match-simple-optimized/137 845s ok 225 /regex/match-simple-optimized/138 845s ok 226 /regex/match-simple-optimized/139 845s ok 227 /regex/match-simple-optimized/140 845s ok 228 /regex/match-simple-optimized/141 845s ok 229 /regex/match-simple-optimized/142 845s ok 230 /regex/match-simple-optimized/143 845s ok 231 /regex/match-simple-optimized/144 845s ok 232 /regex/match-simple-optimized/145 845s ok 233 /regex/match-simple-optimized/146 845s ok 234 /regex/match-simple-optimized/147 845s ok 235 /regex/match-simple-optimized/148 845s ok 236 /regex/match-simple-optimized/149 845s ok 237 /regex/match-simple-optimized/150 845s ok 238 /regex/match-simple-optimized/151 845s ok 239 /regex/match-simple-optimized/152 845s ok 240 /regex/match-simple-optimized/153 845s ok 241 /regex/match-simple-optimized/154 845s ok 242 /regex/match-simple-optimized/155 845s ok 243 /regex/match-simple-optimized/156 845s ok 244 /regex/match-simple-optimized/157 845s ok 245 /regex/match-simple-optimized/158 845s ok 246 /regex/match-simple-optimized/159 845s ok 247 /regex/match-simple-optimized/160 845s ok 248 /regex/match-simple-optimized/161 845s ok 249 /regex/match-simple-optimized/162 845s ok 250 /regex/match-simple-optimized/163 845s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 845s ok 251 /regex/match-simple-optimized/164 845s # End of match-simple-optimized tests 845s # Start of match tests 845s ok 252 /regex/match/165 845s ok 253 /regex/match/166 845s ok 254 /regex/match/167 845s ok 255 /regex/match/168 845s ok 256 /regex/match/169 845s ok 257 /regex/match/170 845s ok 258 /regex/match/171 845s ok 259 /regex/match/172 845s ok 260 /regex/match/173 845s ok 261 /regex/match/174 845s ok 262 /regex/match/175 845s ok 263 /regex/match/176 845s ok 264 /regex/match/177 845s ok 265 /regex/match/178 845s ok 266 /regex/match/179 845s ok 267 /regex/match/180 845s ok 268 /regex/match/181 845s ok 269 /regex/match/182 845s ok 270 /regex/match/183 845s ok 271 /regex/match/184 845s ok 272 /regex/match/185 845s ok 273 /regex/match/186 845s ok 274 /regex/match/187 845s ok 275 /regex/match/188 845s ok 276 /regex/match/189 845s ok 277 /regex/match/190 845s ok 278 /regex/match/191 845s ok 279 /regex/match/192 845s ok 280 /regex/match/193 845s ok 281 /regex/match/194 845s ok 282 /regex/match/195 845s ok 283 /regex/match/196 845s ok 284 /regex/match/197 845s ok 285 /regex/match/198 845s ok 286 /regex/match/199 845s ok 287 /regex/match/200 845s ok 288 /regex/match/201 845s ok 289 /regex/match/202 845s ok 290 /regex/match/203 845s ok 291 /regex/match/204 845s ok 292 /regex/match/205 845s ok 293 /regex/match/206 845s ok 294 /regex/match/207 845s ok 295 /regex/match/208 845s ok 296 /regex/match/209 845s ok 297 /regex/match/210 845s ok 298 /regex/match/211 845s ok 299 /regex/match/212 845s ok 300 /regex/match/213 845s ok 301 /regex/match/214 845s ok 302 /regex/match/215 845s ok 303 /regex/match/216 845s ok 304 /regex/match/217 845s ok 305 /regex/match/218 845s ok 306 /regex/match/219 845s ok 307 /regex/match/220 845s ok 308 /regex/match/221 845s ok 309 /regex/match/222 845s ok 310 /regex/match/223 845s ok 311 /regex/match/224 845s ok 312 /regex/match/225 845s ok 313 /regex/match/226 845s ok 314 /regex/match/227 845s ok 315 /regex/match/228 845s ok 316 /regex/match/229 845s ok 317 /regex/match/230 845s ok 318 /regex/match/231 845s ok 319 /regex/match/232 845s ok 320 /regex/match/233 845s ok 321 /regex/match/234 845s ok 322 /regex/match/235 845s ok 323 /regex/match/236 845s ok 324 /regex/match/237 845s ok 325 /regex/match/238 845s ok 326 /regex/match/239 845s ok 327 /regex/match/240 845s ok 328 /regex/match/241 845s ok 329 /regex/match/242 845s ok 330 /regex/match/243 845s ok 331 /regex/match/244 845s ok 332 /regex/match/245 845s ok 333 /regex/match/246 845s ok 334 /regex/match/partial281 845s ok 335 /regex/match/partial282 845s ok 336 /regex/match/partial283 845s ok 337 /regex/match/partial284 845s ok 338 /regex/match/partial285 845s ok 339 /regex/match/partial286 845s ok 340 /regex/match/partial287 845s ok 341 /regex/match/partial288 845s ok 342 /regex/match/partial289 845s ok 343 /regex/match/partial290 845s ok 344 /regex/match/partial291 845s ok 345 /regex/match/partial292 845s ok 346 /regex/match/partial293 845s ok 347 /regex/match/partial294 845s ok 348 /regex/match/partial295 845s ok 349 /regex/match/partial296 845s ok 350 /regex/match/partial297 845s ok 351 /regex/match/partial298 845s ok 352 /regex/match/partial299 845s ok 353 /regex/match/partial300 845s ok 354 /regex/match/partial301 845s ok 355 /regex/match/partial302 845s # Start of next0 tests 845s ok 356 /regex/match/next0/247 845s ok 357 /regex/match/next0/248 845s ok 358 /regex/match/next0/249 845s ok 359 /regex/match/next0/250 845s # End of next0 tests 845s # Start of next1 tests 845s ok 360 /regex/match/next1/251 845s ok 361 /regex/match/next1/252 845s ok 362 /regex/match/next1/253 845s ok 363 /regex/match/next1/254 845s ok 364 /regex/match/next1/255 845s # End of next1 tests 845s # Start of next2 tests 845s ok 365 /regex/match/next2/256 845s ok 366 /regex/match/next2/257 845s ok 367 /regex/match/next2/258 845s ok 368 /regex/match/next2/259 845s ok 369 /regex/match/next2/260 845s ok 370 /regex/match/next2/261 845s ok 371 /regex/match/next2/262 845s ok 372 /regex/match/next2/263 845s # End of next2 tests 845s # Start of next3 tests 845s ok 373 /regex/match/next3/264 845s ok 374 /regex/match/next3/265 845s ok 375 /regex/match/next3/266 845s ok 376 /regex/match/next3/267 845s ok 377 /regex/match/next3/268 845s ok 378 /regex/match/next3/269 845s # End of next3 tests 845s # Start of next4 tests 845s ok 379 /regex/match/next4/270 845s # End of next4 tests 845s # Start of count tests 845s ok 380 /regex/match/count/271 845s ok 381 /regex/match/count/272 845s ok 382 /regex/match/count/273 845s ok 383 /regex/match/count/274 845s ok 384 /regex/match/count/275 845s ok 385 /regex/match/count/276 845s ok 386 /regex/match/count/277 845s ok 387 /regex/match/count/278 845s ok 388 /regex/match/count/279 845s ok 389 /regex/match/count/280 845s # End of count tests 845s # Start of count-optimized tests 845s ok 390 /regex/match/count-optimized/271 845s ok 391 /regex/match/count-optimized/272 845s ok 392 /regex/match/count-optimized/273 845s ok 393 /regex/match/count-optimized/274 845s ok 394 /regex/match/count-optimized/275 845s ok 395 /regex/match/count-optimized/276 845s ok 396 /regex/match/count-optimized/277 845s ok 397 /regex/match/count-optimized/278 845s ok 398 /regex/match/count-optimized/279 845s ok 399 /regex/match/count-optimized/280 845s # End of count-optimized tests 845s # Start of partial-optimized tests 845s ok 400 /regex/match/partial-optimized/281 845s ok 401 /regex/match/partial-optimized/282 845s ok 402 /regex/match/partial-optimized/283 845s ok 403 /regex/match/partial-optimized/284 845s ok 404 /regex/match/partial-optimized/285 845s ok 405 /regex/match/partial-optimized/286 845s ok 406 /regex/match/partial-optimized/287 845s ok 407 /regex/match/partial-optimized/288 845s ok 408 /regex/match/partial-optimized/289 845s ok 409 /regex/match/partial-optimized/290 845s ok 410 /regex/match/partial-optimized/291 845s ok 411 /regex/match/partial-optimized/292 845s ok 412 /regex/match/partial-optimized/293 845s ok 413 /regex/match/partial-optimized/294 845s ok 414 /regex/match/partial-optimized/295 845s ok 415 /regex/match/partial-optimized/296 845s ok 416 /regex/match/partial-optimized/297 845s ok 417 /regex/match/partial-optimized/298 845s ok 418 /regex/match/partial-optimized/299 845s ok 419 /regex/match/partial-optimized/300 845s ok 420 /regex/match/partial-optimized/301 845s ok 421 /regex/match/partial-optimized/302 845s # End of partial-optimized tests 845s # Start of subpattern tests 845s ok 422 /regex/match/subpattern/303 845s ok 423 /regex/match/subpattern/304 845s ok 424 /regex/match/subpattern/305 845s ok 425 /regex/match/subpattern/306 845s ok 426 /regex/match/subpattern/307 845s ok 427 /regex/match/subpattern/308 845s ok 428 /regex/match/subpattern/309 845s ok 429 /regex/match/subpattern/310 845s ok 430 /regex/match/subpattern/311 845s ok 431 /regex/match/subpattern/312 845s ok 432 /regex/match/subpattern/313 845s ok 433 /regex/match/subpattern/314 845s ok 434 /regex/match/subpattern/315 845s # Start of named tests 845s # Start of dupnames tests 845s ok 435 /regex/match/subpattern/named/dupnames/325 845s ok 436 /regex/match/subpattern/named/dupnames/326 845s ok 437 /regex/match/subpattern/named/dupnames/327 845s ok 438 /regex/match/subpattern/named/dupnames/328 845s ok 439 /regex/match/subpattern/named/dupnames/329 845s # End of dupnames tests 845s # End of named tests 845s # End of subpattern tests 845s # Start of subpattern-optimized tests 845s ok 440 /regex/match/subpattern-optimized/303 845s ok 441 /regex/match/subpattern-optimized/304 845s ok 442 /regex/match/subpattern-optimized/305 845s ok 443 /regex/match/subpattern-optimized/306 845s ok 444 /regex/match/subpattern-optimized/307 845s ok 445 /regex/match/subpattern-optimized/308 845s ok 446 /regex/match/subpattern-optimized/309 845s ok 447 /regex/match/subpattern-optimized/310 845s ok 448 /regex/match/subpattern-optimized/311 845s ok 449 /regex/match/subpattern-optimized/312 845s ok 450 /regex/match/subpattern-optimized/313 845s ok 451 /regex/match/subpattern-optimized/314 845s ok 452 /regex/match/subpattern-optimized/315 845s # End of subpattern-optimized tests 845s # Start of named tests 845s # Start of subpattern tests 845s ok 453 /regex/match/named/subpattern/316 845s ok 454 /regex/match/named/subpattern/317 845s ok 455 /regex/match/named/subpattern/318 845s ok 456 /regex/match/named/subpattern/319 845s ok 457 /regex/match/named/subpattern/320 845s ok 458 /regex/match/named/subpattern/321 845s ok 459 /regex/match/named/subpattern/322 845s ok 460 /regex/match/named/subpattern/323 845s ok 461 /regex/match/named/subpattern/324 845s ok 462 /regex/match/named/subpattern/330 845s ok 463 /regex/match/named/subpattern/331 845s ok 464 /regex/match/named/subpattern/332 845s ok 465 /regex/match/named/subpattern/333 845s ok 466 /regex/match/named/subpattern/334 845s # End of subpattern tests 845s # End of named tests 845s # End of match tests 845s # Start of match-optimized tests 845s ok 467 /regex/match-optimized/165 845s ok 468 /regex/match-optimized/166 845s ok 469 /regex/match-optimized/167 845s ok 470 /regex/match-optimized/168 845s ok 471 /regex/match-optimized/169 845s ok 472 /regex/match-optimized/170 845s ok 473 /regex/match-optimized/171 845s ok 474 /regex/match-optimized/172 845s ok 475 /regex/match-optimized/173 845s ok 476 /regex/match-optimized/174 845s ok 477 /regex/match-optimized/175 845s ok 478 /regex/match-optimized/176 845s ok 479 /regex/match-optimized/177 845s ok 480 /regex/match-optimized/178 845s ok 481 /regex/match-optimized/179 845s ok 482 /regex/match-optimized/180 845s ok 483 /regex/match-optimized/181 845s ok 484 /regex/match-optimized/182 845s ok 485 /regex/match-optimized/183 845s ok 486 /regex/match-optimized/184 845s ok 487 /regex/match-optimized/185 845s ok 488 /regex/match-optimized/186 845s ok 489 /regex/match-optimized/187 845s ok 490 /regex/match-optimized/188 845s ok 491 /regex/match-optimized/189 845s ok 492 /regex/match-optimized/190 845s ok 493 /regex/match-optimized/191 845s ok 494 /regex/match-optimized/192 845s ok 495 /regex/match-optimized/193 845s ok 496 /regex/match-optimized/194 845s ok 497 /regex/match-optimized/195 845s ok 498 /regex/match-optimized/196 845s ok 499 /regex/match-optimized/197 845s ok 500 /regex/match-optimized/198 845s ok 501 /regex/match-optimized/199 845s ok 502 /regex/match-optimized/200 845s ok 503 /regex/match-optimized/201 845s ok 504 /regex/match-optimized/202 845s ok 505 /regex/match-optimized/203 845s ok 506 /regex/match-optimized/204 845s ok 507 /regex/match-optimized/205 845s ok 508 /regex/match-optimized/206 845s ok 509 /regex/match-optimized/207 845s ok 510 /regex/match-optimized/208 845s ok 511 /regex/match-optimized/209 845s ok 512 /regex/match-optimized/210 845s ok 513 /regex/match-optimized/211 845s ok 514 /regex/match-optimized/212 845s ok 515 /regex/match-optimized/213 845s ok 516 /regex/match-optimized/214 845s ok 517 /regex/match-optimized/215 845s ok 518 /regex/match-optimized/216 845s ok 519 /regex/match-optimized/217 845s ok 520 /regex/match-optimized/218 845s ok 521 /regex/match-optimized/219 845s ok 522 /regex/match-optimized/220 845s ok 523 /regex/match-optimized/221 845s ok 524 /regex/match-optimized/222 845s ok 525 /regex/match-optimized/223 845s ok 526 /regex/match-optimized/224 845s ok 527 /regex/match-optimized/225 845s ok 528 /regex/match-optimized/226 845s ok 529 /regex/match-optimized/227 845s ok 530 /regex/match-optimized/228 845s ok 531 /regex/match-optimized/229 845s ok 532 /regex/match-optimized/230 845s ok 533 /regex/match-optimized/231 845s ok 534 /regex/match-optimized/232 845s ok 535 /regex/match-optimized/233 845s ok 536 /regex/match-optimized/234 845s ok 537 /regex/match-optimized/235 845s ok 538 /regex/match-optimized/236 845s ok 539 /regex/match-optimized/237 845s ok 540 /regex/match-optimized/238 845s ok 541 /regex/match-optimized/239 845s ok 542 /regex/match-optimized/240 845s ok 543 /regex/match-optimized/241 845s ok 544 /regex/match-optimized/242 845s ok 545 /regex/match-optimized/243 845s ok 546 /regex/match-optimized/244 845s ok 547 /regex/match-optimized/245 845s ok 548 /regex/match-optimized/246 845s # End of match-optimized tests 845s # Start of fetch-all0 tests 845s ok 549 /regex/fetch-all0/335 845s ok 550 /regex/fetch-all0/336 845s # End of fetch-all0 tests 845s # Start of fetch-all1 tests 845s ok 551 /regex/fetch-all1/337 845s ok 552 /regex/fetch-all1/338 845s ok 553 /regex/fetch-all1/339 845s # End of fetch-all1 tests 845s # Start of fetch-all2 tests 845s ok 554 /regex/fetch-all2/340 845s ok 555 /regex/fetch-all2/341 845s ok 556 /regex/fetch-all2/342 845s # End of fetch-all2 tests 845s # Start of fetch-all3 tests 845s ok 557 /regex/fetch-all3/343 845s ok 558 /regex/fetch-all3/344 845s ok 559 /regex/fetch-all3/345 845s ok 560 /regex/fetch-all3/346 845s ok 561 /regex/fetch-all3/347 845s # End of fetch-all3 tests 845s # Start of split tests 845s # Start of simple0 tests 845s ok 562 /regex/split/simple0/348 845s ok 563 /regex/split/simple0/349 845s ok 564 /regex/split/simple0/364 845s ok 565 /regex/split/simple0/365 845s # End of simple0 tests 845s # Start of simple1 tests 845s ok 566 /regex/split/simple1/350 845s ok 567 /regex/split/simple1/351 845s # End of simple1 tests 845s # Start of simple2 tests 845s ok 568 /regex/split/simple2/352 845s ok 569 /regex/split/simple2/358 845s ok 570 /regex/split/simple2/360 845s # End of simple2 tests 845s # Start of simple3 tests 845s ok 571 /regex/split/simple3/353 845s ok 572 /regex/split/simple3/354 845s ok 573 /regex/split/simple3/355 845s ok 574 /regex/split/simple3/356 845s ok 575 /regex/split/simple3/357 845s ok 576 /regex/split/simple3/359 845s ok 577 /regex/split/simple3/361 845s ok 578 /regex/split/simple3/362 845s ok 579 /regex/split/simple3/363 845s # End of simple3 tests 845s # End of split tests 845s # Start of split0 tests 845s ok 580 /regex/split0/366 845s ok 581 /regex/split0/368 845s # End of split0 tests 845s # Start of full-split0 tests 845s ok 582 /regex/full-split0/367 845s ok 583 /regex/full-split0/369 845s ok 584 /regex/full-split0/370 845s ok 585 /regex/full-split0/371 845s ok 586 /regex/full-split0/372 845s # End of full-split0 tests 845s # Start of split1 tests 845s ok 587 /regex/split1/373 845s ok 588 /regex/split1/376 845s # End of split1 tests 845s # Start of full-split1 tests 845s ok 589 /regex/full-split1/374 845s ok 590 /regex/full-split1/375 845s ok 591 /regex/full-split1/377 845s ok 592 /regex/full-split1/378 845s ok 593 /regex/full-split1/404 845s # End of full-split1 tests 845s # Start of split2 tests 845s ok 594 /regex/split2/379 845s ok 595 /regex/split2/383 845s ok 596 /regex/split2/395 845s # End of split2 tests 845s # Start of full-split2 tests 845s ok 597 /regex/full-split2/380 845s ok 598 /regex/full-split2/381 845s ok 599 /regex/full-split2/382 845s ok 600 /regex/full-split2/384 845s ok 601 /regex/full-split2/396 845s ok 602 /regex/full-split2/399 845s ok 603 /regex/full-split2/405 845s # End of full-split2 tests 845s # Start of split3 tests 845s ok 604 /regex/split3/385 845s ok 605 /regex/split3/387 845s ok 606 /regex/split3/389 845s ok 607 /regex/split3/391 845s ok 608 /regex/split3/393 845s ok 609 /regex/split3/397 845s ok 610 /regex/split3/400 845s ok 611 /regex/split3/402 845s # End of split3 tests 845s # Start of full-split3 tests 845s ok 612 /regex/full-split3/386 845s ok 613 /regex/full-split3/388 845s ok 614 /regex/full-split3/390 845s ok 615 /regex/full-split3/392 845s ok 616 /regex/full-split3/394 845s ok 617 /regex/full-split3/398 845s ok 618 /regex/full-split3/401 845s ok 619 /regex/full-split3/403 845s ok 620 /regex/full-split3/406 845s ok 621 /regex/full-split3/407 845s # End of full-split3 tests 845s # Start of check-repacement tests 845s ok 622 /regex/check-repacement/408 845s ok 623 /regex/check-repacement/409 845s ok 624 /regex/check-repacement/410 845s ok 625 /regex/check-repacement/411 845s ok 626 /regex/check-repacement/412 845s ok 627 /regex/check-repacement/413 845s ok 628 /regex/check-repacement/414 845s ok 629 /regex/check-repacement/415 845s # End of check-repacement tests 845s # Start of expand tests 845s ok 630 /regex/expand/416 845s ok 631 /regex/expand/417 845s ok 632 /regex/expand/418 845s ok 633 /regex/expand/419 845s ok 634 /regex/expand/420 845s ok 635 /regex/expand/421 845s ok 636 /regex/expand/422 845s ok 637 /regex/expand/423 845s ok 638 /regex/expand/424 845s ok 639 /regex/expand/425 845s ok 640 /regex/expand/426 845s ok 641 /regex/expand/427 845s ok 642 /regex/expand/428 845s ok 643 /regex/expand/429 845s ok 644 /regex/expand/430 845s ok 645 /regex/expand/431 845s ok 646 /regex/expand/432 845s ok 647 /regex/expand/433 845s ok 648 /regex/expand/434 845s ok 649 /regex/expand/435 845s ok 650 /regex/expand/436 845s ok 651 /regex/expand/437 845s ok 652 /regex/expand/438 845s ok 653 /regex/expand/439 845s ok 654 /regex/expand/440 845s ok 655 /regex/expand/441 845s ok 656 /regex/expand/442 845s ok 657 /regex/expand/443 845s ok 658 /regex/expand/444 845s ok 659 /regex/expand/445 845s ok 660 /regex/expand/446 845s ok 661 /regex/expand/447 845s ok 662 /regex/expand/448 845s ok 663 /regex/expand/449 845s ok 664 /regex/expand/450 845s ok 665 /regex/expand/451 845s ok 666 /regex/expand/452 845s ok 667 /regex/expand/453 845s ok 668 /regex/expand/454 845s ok 669 /regex/expand/455 845s ok 670 /regex/expand/456 845s ok 671 /regex/expand/457 845s ok 672 /regex/expand/458 845s ok 673 /regex/expand/459 845s ok 674 /regex/expand/460 845s ok 675 /regex/expand/461 845s ok 676 /regex/expand/462 845s ok 677 /regex/expand/463 845s ok 678 /regex/expand/464 845s ok 679 /regex/expand/465 845s ok 680 /regex/expand/466 845s ok 681 /regex/expand/467 845s ok 682 /regex/expand/468 845s ok 683 /regex/expand/469 845s ok 684 /regex/expand/470 845s ok 685 /regex/expand/471 845s ok 686 /regex/expand/472 845s ok 687 /regex/expand/473 845s ok 688 /regex/expand/474 845s ok 689 /regex/expand/475 845s ok 690 /regex/expand/476 845s ok 691 /regex/expand/477 845s ok 692 /regex/expand/478 845s ok 693 /regex/expand/479 845s ok 694 /regex/expand/480 845s ok 695 /regex/expand/481 845s # End of expand tests 845s # Start of replace tests 845s ok 696 /regex/replace/482 845s ok 697 /regex/replace/483 845s ok 698 /regex/replace/484 845s ok 699 /regex/replace/485 845s ok 700 /regex/replace/486 845s ok 701 /regex/replace/487 845s ok 702 /regex/replace/488 845s ok 703 /regex/replace/489 845s ok 704 /regex/replace/490 845s ok 705 /regex/replace/491 845s ok 706 /regex/replace/492 845s ok 707 /regex/replace/493 845s ok 708 /regex/replace/494 845s ok 709 /regex/replace/495 845s ok 710 /regex/replace/496 845s ok 711 /regex/replace/497 845s ok 712 /regex/replace/498 845s ok 713 /regex/replace/499 845s ok 714 /regex/replace/500 845s ok 715 /regex/replace/501 845s ok 716 /regex/replace/502 845s ok 717 /regex/replace/503 845s ok 718 /regex/replace/504 845s ok 719 /regex/replace/505 845s ok 720 /regex/replace/506 845s ok 721 /regex/replace/507 845s ok 722 /regex/replace/508 845s ok 723 /regex/replace/509 845s # End of replace tests 845s # Start of replace-optimized tests 845s ok 724 /regex/replace-optimized/482 845s ok 725 /regex/replace-optimized/483 845s ok 726 /regex/replace-optimized/484 845s ok 727 /regex/replace-optimized/485 845s ok 728 /regex/replace-optimized/486 845s ok 729 /regex/replace-optimized/487 845s ok 730 /regex/replace-optimized/488 845s ok 731 /regex/replace-optimized/489 845s ok 732 /regex/replace-optimized/490 845s ok 733 /regex/replace-optimized/491 845s ok 734 /regex/replace-optimized/492 845s ok 735 /regex/replace-optimized/493 845s ok 736 /regex/replace-optimized/494 845s ok 737 /regex/replace-optimized/495 845s ok 738 /regex/replace-optimized/496 845s ok 739 /regex/replace-optimized/497 845s ok 740 /regex/replace-optimized/498 845s ok 741 /regex/replace-optimized/499 845s ok 742 /regex/replace-optimized/500 845s ok 743 /regex/replace-optimized/501 845s ok 744 /regex/replace-optimized/502 845s ok 745 /regex/replace-optimized/503 845s ok 746 /regex/replace-optimized/504 845s ok 747 /regex/replace-optimized/505 845s ok 748 /regex/replace-optimized/506 845s ok 749 /regex/replace-optimized/507 845s ok 750 /regex/replace-optimized/508 845s ok 751 /regex/replace-optimized/509 845s # End of replace-optimized tests 845s # Start of replace-literally tests 845s ok 752 /regex/replace-literally/510 845s ok 753 /regex/replace-literally/511 845s ok 754 /regex/replace-literally/512 845s ok 755 /regex/replace-literally/513 845s ok 756 /regex/replace-literally/514 845s ok 757 /regex/replace-literally/515 845s ok 758 /regex/replace-literally/516 845s ok 759 /regex/replace-literally/517 845s ok 760 /regex/replace-literally/518 845s ok 761 /regex/replace-literally/519 845s ok 762 /regex/replace-literally/520 845s ok 763 /regex/replace-literally/521 845s ok 764 /regex/replace-literally/522 845s ok 765 /regex/replace-literally/523 845s ok 766 /regex/replace-literally/524 845s ok 767 /regex/replace-literally/525 845s ok 768 /regex/replace-literally/526 845s ok 769 /regex/replace-literally/527 845s ok 770 /regex/replace-literally/528 845s ok 771 /regex/replace-literally/529 845s # End of replace-literally tests 845s # Start of string-number tests 845s ok 772 /regex/string-number/530 845s ok 773 /regex/string-number/531 845s ok 774 /regex/string-number/532 845s ok 775 /regex/string-number/533 845s ok 776 /regex/string-number/534 845s ok 777 /regex/string-number/535 845s ok 778 /regex/string-number/536 845s ok 779 /regex/string-number/537 845s ok 780 /regex/string-number/538 845s ok 781 /regex/string-number/539 845s ok 782 /regex/string-number/540 845s ok 783 /regex/string-number/541 845s ok 784 /regex/string-number/542 845s ok 785 /regex/string-number/543 845s ok 786 /regex/string-number/544 845s # End of string-number tests 845s # Start of escape_nul tests 845s ok 787 /regex/escape_nul/545 845s ok 788 /regex/escape_nul/546 845s ok 789 /regex/escape_nul/547 845s ok 790 /regex/escape_nul/548 845s ok 791 /regex/escape_nul/549 845s ok 792 /regex/escape_nul/550 845s ok 793 /regex/escape_nul/551 845s ok 794 /regex/escape_nul/552 845s ok 795 /regex/escape_nul/553 845s ok 796 /regex/escape_nul/554 845s ok 797 /regex/escape_nul/555 845s ok 798 /regex/escape_nul/556 845s ok 799 /regex/escape_nul/557 845s ok 800 /regex/escape_nul/558 845s ok 801 /regex/escape_nul/559 845s # End of escape_nul tests 845s # Start of escape tests 845s ok 802 /regex/escape/560 845s ok 803 /regex/escape/561 845s ok 804 /regex/escape/562 845s ok 805 /regex/escape/563 845s ok 806 /regex/escape/564 845s ok 807 /regex/escape/565 845s ok 808 /regex/escape/566 845s ok 809 /regex/escape/567 845s ok 810 /regex/escape/568 845s ok 811 /regex/escape/569 845s ok 812 /regex/escape/570 845s ok 813 /regex/escape/571 845s ok 814 /regex/escape/572 845s ok 815 /regex/escape/573 845s ok 816 /regex/escape/574 845s ok 817 /regex/escape/575 845s ok 818 /regex/escape/576 845s ok 819 /regex/escape/577 845s # End of escape tests 845s # Start of match-all0 tests 845s ok 820 /regex/match-all0/578 845s ok 821 /regex/match-all0/580 845s # End of match-all0 tests 845s # Start of match-all-full0 tests 845s ok 822 /regex/match-all-full0/579 845s ok 823 /regex/match-all-full0/581 845s ok 824 /regex/match-all-full0/582 845s ok 825 /regex/match-all-full0/583 845s # End of match-all-full0 tests 845s # Start of match-all1 tests 845s ok 826 /regex/match-all1/584 845s ok 827 /regex/match-all1/586 845s ok 828 /regex/match-all1/591 845s # End of match-all1 tests 845s # Start of match-all-full1 tests 845s ok 829 /regex/match-all-full1/585 845s ok 830 /regex/match-all-full1/587 845s ok 831 /regex/match-all-full1/588 845s ok 832 /regex/match-all-full1/589 845s ok 833 /regex/match-all-full1/590 845s ok 834 /regex/match-all-full1/592 845s # End of match-all-full1 tests 845s # Start of match-all2 tests 845s ok 835 /regex/match-all2/593 845s ok 836 /regex/match-all2/595 845s ok 837 /regex/match-all2/597 845s # End of match-all2 tests 845s # Start of match-all-full2 tests 845s ok 838 /regex/match-all-full2/594 845s ok 839 /regex/match-all-full2/596 845s ok 840 /regex/match-all-full2/598 845s # End of match-all-full2 tests 845s # Start of match-all3 tests 845s ok 841 /regex/match-all3/599 845s ok 842 /regex/match-all3/601 845s # End of match-all3 tests 845s # Start of match-all-full3 tests 845s ok 843 /regex/match-all-full3/600 845s ok 844 /regex/match-all-full3/602 845s # End of match-all-full3 tests 845s # Start of match-notempty tests 845s ok 845 /regex/match-notempty/603 845s # End of match-notempty tests 845s # Start of match-notempty-optimized tests 845s ok 846 /regex/match-notempty-optimized/603 845s # End of match-notempty-optimized tests 845s # Start of match-notempty-atstart tests 845s ok 847 /regex/match-notempty-atstart/604 845s # End of match-notempty-atstart tests 845s # Start of match-notempty-atstart-optimized tests 845s ok 848 /regex/match-notempty-atstart-optimized/604 845s # End of match-notempty-atstart-optimized tests 845s # End of regex tests 845s ok - glib/regex.test 845s # Running test: glib/gdbus-address-get-session.test 845s TAP version 14 845s # random seed: R02S5364d6a272c84e658e3723f08e4a0091 845s 1..2 845s # Start of gdbus tests 845s ok 1 /gdbus/x11-autolaunch 845s ok 2 /gdbus/xdg-runtime 845s # End of gdbus tests 845s ok - glib/gdbus-address-get-session.test 845s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 845s TAP version 14 845s # random seed: R02S5da47fdf6c9a6881a9146e382a1c5f95 845s 1..8 845s # Start of gdbus tests 845s # Start of codegen tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/annotations/.dirs/runtime 845s ok 1 /gdbus/codegen/annotations 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/interface_stability/.dirs/runtime 845s ok 2 /gdbus/codegen/interface_stability 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/object-manager/.dirs/runtime 845s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 845s ok 3 /gdbus/codegen/object-manager 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/property-naming/.dirs/runtime 845s ok 4 /gdbus/codegen/property-naming 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/autocleanups/.dirs/runtime 845s ok 5 /gdbus/codegen/autocleanups 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/deprecations/.dirs/runtime 845s ok 6 /gdbus/codegen/deprecations 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/standalone-interface-info/.dirs/runtime 845s ok 7 /gdbus/codegen/standalone-interface-info 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UFJA02/gdbus/codegen/unix-fd-list/.dirs/runtime 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 845s ok 8 /gdbus/codegen/unix-fd-list 845s # End of codegen tests 845s # End of gdbus tests 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 845s ok - glib/gdbus-test-codegen-min-required-2-64.test 845s # Running test: glib/sandbox.test 845s TAP version 14 845s # random seed: R02S1e3894676958a72a99dc4f75dd41cd9d 845s 1..4 845s # Start of sandbox tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_66YB02/sandbox/none/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_66YB02/sandbox/none/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_66YB02/sandbox/none/.dirs/runtime 845s ok 1 /sandbox/none 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_66YB02/sandbox/snap/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_66YB02/sandbox/snap/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_66YB02/sandbox/snap/.dirs/runtime 845s # Created snap.yaml in /tmp/test_sandbox_66YB02/snap/current/meta/snap.yaml 845s ok 2 /sandbox/snap 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_66YB02/sandbox/classic-snap/.dirs/runtime 845s # Created snap.yaml in /tmp/test_sandbox_66YB02/snap/current/meta/snap.yaml 845s ok 3 /sandbox/classic-snap 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/runtime 845s # Creating .flatpak-info in /tmp/test_sandbox_66YB02/sandbox/flatpak/.dirs/runtime/.flatpak-info 845s ok 4 /sandbox/flatpak 845s # End of sandbox tests 845s ok - glib/sandbox.test 845s # Running test: glib/642026-ec.test 845s TAP version 14 845s # random seed: R02Se0bbe8c5ddfb0ca6043192b7b891eb14 845s 1..1 845s # Start of glib tests 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 845s ok 1 /glib/642026 845s # End of glib tests 845s ok - glib/642026-ec.test 845s # Running test: glib/gio-tool.py.test 845s TAP version 13 845s ok 1 __main__.TestGioTool.test_help 845s # tmpdir: /tmp/tmp4benop2i 845s # gio: /usr/bin/gio 845s # Running: ['/usr/bin/gio', '--help'] 845s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 845s # Output: Usage: 845s # gio COMMAND [ARGS…] 845s # 845s # Commands: 845s # help Print help 845s # version Print version 845s # cat Concatenate files to standard output 845s # copy Copy one or more files 845s # info Show information about locations 845s # launch Launch an application from a desktop file 845s # list List the contents of locations 845s # mime Get or set the handler for a mimetype 845s # mkdir Create directories 845s # monitor Monitor files and directories for changes 845s # mount Mount or unmount the locations 845s # move Move one or more files 845s # open Open files with the default application 845s # rename Rename a file 845s # remove Delete one or more files 845s # save Read from standard input and save 845s # set Set a file attribute 845s # trash Move files or directories to the trash 845s # tree Lists the contents of locations in a tree 845s # 845s # Use “gio help COMMAND†to get detailed help. 845s # Running: ['/usr/bin/gio', 'help'] 845s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 845s # Output: Usage: 845s # gio COMMAND [ARGS…] 845s # 845s # Commands: 845s # help Print help 845s # version Print version 845s # cat Concatenate files to standard output 845s # copy Copy one or more files 845s # info Show information about locations 845s # launch Launch an application from a desktop file 845s # list List the contents of locations 845s # mime Get or set the handler for a mimetype 845s # mkdir Create directories 845s # monitor Monitor files and directories for changes 845s # mount Mount or unmount the locations 845s # move Move one or more files 845s # open Open files with the default application 845s # rename Rename a file 845s # remove Delete one or more files 845s # save Read from standard input and save 845s # set Set a file attribute 845s # trash Move files or directories to the trash 845s # tree Lists the contents of locations in a tree 845s # 845s # Use “gio help COMMAND†to get detailed help. 845s ok 2 __main__.TestGioTool.test_info_non_default_attributes 845s # tmpdir: /tmp/tmpp2rah5dl 845s # gio: /usr/bin/gio 845s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpp2rah5dl/tmphbgp64li'] 845s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 845s # Output: uri: file:///tmp/tmpp2rah5dl/tmphbgp64li 845s # local path: /tmp/tmpp2rah5dl/tmphbgp64li 845s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 845s # attributes: 845s # standard::content-type: application/x-zerosize 845s ok 3 __main__.TestGioTool.test_no_args 845s # tmpdir: /tmp/tmp_d1eakqs 845s # gio: /usr/bin/gio 845s # Running: ['/usr/bin/gio'] 845s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 845s 1..3 845s ok - glib/gio-tool.py.test 845s # Running test: glib/reference.test 845s TAP version 14 845s # random seed: R02Sc1c8310f5133e3414a6ef95a5028a310 845s 1..29 845s # Start of type tests 845s ok 1 /type/fundamentals 845s ok 2 /type/qdata 845s ok 3 /type/query 845s ok 4 /type/class-private 845s # End of type tests 845s # Start of object tests 845s ok 5 /object/clear 845s ok 6 /object/clear-function 845s ok 7 /object/set 845s ok 8 /object/set-function 845s ok 9 /object/value 845s ok 10 /object/initially-unowned 845s ok 11 /object/weak-pointer 845s ok 12 /object/weak-ref 845s ok 13 /object/toggle-ref 845s ok 14 /object/qdata 845s ok 15 /object/qdata2 845s # Start of set tests 845s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 845s ok 16 /object/set/derived-type 845s # End of set tests 845s # Start of weak-pointer tests 845s ok 17 /object/weak-pointer/clear 845s ok 18 /object/weak-pointer/clear-function 845s ok 19 /object/weak-pointer/set 845s ok 20 /object/weak-pointer/set-function 845s # End of weak-pointer tests 845s # Start of weak-ref tests 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 845s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 845s ok 21 /object/weak-ref/on-dispose 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 845s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 845s ok 22 /object/weak-ref/on-run-dispose 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 845s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 845s ok 23 /object/weak-ref/on-toggle-notify 845s ok 24 /object/weak-ref/in-toggle-notify 845s ok 25 /object/weak-ref/many 845s # Start of concurrent tests 845s ok 26 /object/weak-ref/concurrent/0 845s ok 27 /object/weak-ref/concurrent/1 845s # End of concurrent tests 845s # End of weak-ref tests 845s # Start of toggle-ref tests 845s ok 28 /object/toggle-ref/ref-on-dispose 845s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 845s # End of toggle-ref tests 845s # End of object tests 845s ok - glib/reference.test 845s # Running test: glib/socket.test 845s TAP version 14 845s # random seed: R02S7c708aa6049b6b78ff07ce03c1ad3b4d 845s 1..28 845s # Start of socket tests 846s ok 1 /socket/ipv4_sync 846s # slow test /socket/ipv4_sync executed in 1.00 secs 847s ok 2 /socket/ipv4_async 847s # slow test /socket/ipv4_async executed in 1.00 secs 847s ok 3 /socket/ipv6_sync 847s ok 4 /socket/ipv6_async 847s ok 5 /socket/ipv6_v4mapped 848s ok 6 /socket/close_graceful 848s # slow test /socket/close_graceful executed in 1.00 secs 848s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 848s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 848s ok 8 /socket/fd_reuse 848s ok 9 /socket/address 848s ok 10 /socket/unix-from-fd 848s ok 11 /socket/unix-connection 848s ok 12 /socket/unix-connection-ancillary-data 848s ok 13 /socket/source-postmortem 848s ok 14 /socket/read_write 848s ok 15 /socket/read_writev 848s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 848s ok 16 /socket/receive_bytes 848s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 848s ok 17 /socket/receive_bytes_from 848s # Start of ipv4_sync tests 848s ok 18 /socket/ipv4_sync/datagram 848s # Start of datagram tests 849s # Executing: glib/socket.test 849s ok 19 /socket/ipv4_sync/datagram/timeouts 849s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 849s # End of datagram tests 849s # End of ipv4_sync tests 849s # Start of ipv6_sync tests 849s ok 20 /socket/ipv6_sync/datagram 849s # Start of datagram tests 850s ok 21 /socket/ipv6_sync/datagram/timeouts 850s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 850s # End of datagram tests 850s # End of ipv6_sync tests 850s # Start of reuse tests 850s ok 22 /socket/reuse/tcp 850s ok 23 /socket/reuse/udp 850s # End of reuse tests 850s # Start of get_available tests 850s ok 24 /socket/get_available/datagram 850s ok 25 /socket/get_available/stream 850s # End of get_available tests 850s # Start of credentials tests 850s # Supported on this OS: GCredentials:linux-ucred:pid=0 850s ok 26 /socket/credentials/tcp_client 850s # Supported on this OS: GCredentials:linux-ucred:pid=0 850s ok 27 /socket/credentials/tcp_server 850s # Supported on this OS: GCredentials:linux-ucred:pid=3166,uid=1000,gid=1000 850s ok 28 /socket/credentials/unix_socketpair 850s # End of credentials tests 850s # End of socket tests 850s ok - glib/socket.test 850s # Running test: glib/cxx.test 850s TAP version 14 850s # random seed: R02Sa5388530cf5ef1fdeede19d16e911435 850s 1..2 850s # Start of gtask tests 850s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 850s ok 1 /gtask/name 850s # Start of name tests 850s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 850s ok 2 /gtask/name/macro-wrapper 850s # End of name tests 850s # End of gtask tests 850s ok - glib/cxx.test 850s # Running test: glib/io-stream.test 850s TAP version 14 850s # random seed: R02S21c254cba10ebf88be63db3f11fbef6e 850s 1..3 850s # Start of io-stream tests 850s ok 1 /io-stream/copy-chunks 850s # Start of close tests 850s # Start of async tests 850s ok 2 /io-stream/close/async/memory 850s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 850s ok 3 /io-stream/close/async/file 850s # End of async tests 850s # End of close tests 850s # End of io-stream tests 850s ok - glib/io-stream.test 850s # Running test: glib/repository.test 850s TAP version 14 850s # random seed: R02S91e7fc53a28aed2cd7ecdcc85cbb6211 850s 1..23 850s # Start of repository tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/basic/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/basic/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/basic/.dirs/system-config1:/tmp/test_repository_943L02/repository/basic/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/basic/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/basic/.dirs/system-data1:/tmp/test_repository_943L02/repository/basic/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/basic/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/basic/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/basic/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 850s ok 1 /repository/basic 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/info/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/info/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/info/.dirs/system-config1:/tmp/test_repository_943L02/repository/info/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/info/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/info/.dirs/system-data1:/tmp/test_repository_943L02/repository/info/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/info/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/info/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/info/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/info summary: Test retrieving some basic info blobs from a typelib 850s ok 2 /repository/info 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/dependencies/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/dependencies/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/dependencies/.dirs/system-config1:/tmp/test_repository_943L02/repository/dependencies/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/dependencies/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/dependencies/.dirs/system-data1:/tmp/test_repository_943L02/repository/dependencies/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/dependencies/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/dependencies/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/dependencies/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 850s ok 3 /repository/dependencies 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/arg-info/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/arg-info/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/arg-info/.dirs/system-config1:/tmp/test_repository_943L02/repository/arg-info/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/arg-info/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/arg-info/.dirs/system-data1:/tmp/test_repository_943L02/repository/arg-info/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/arg-info/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/arg-info/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/arg-info/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 850s ok 4 /repository/arg-info 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/callable-info/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/callable-info/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/callable-info/.dirs/system-config1:/tmp/test_repository_943L02/repository/callable-info/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/callable-info/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/callable-info/.dirs/system-data1:/tmp/test_repository_943L02/repository/callable-info/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/callable-info/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/callable-info/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/callable-info/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 850s ok 5 /repository/callable-info 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/callback-info/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/callback-info/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/callback-info/.dirs/system-config1:/tmp/test_repository_943L02/repository/callback-info/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/callback-info/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/callback-info/.dirs/system-data1:/tmp/test_repository_943L02/repository/callback-info/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/callback-info/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/callback-info/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/callback-info/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 850s ok 6 /repository/callback-info 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/char-types/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/char-types/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/char-types/.dirs/system-config1:/tmp/test_repository_943L02/repository/char-types/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/char-types/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/char-types/.dirs/system-data1:/tmp/test_repository_943L02/repository/char-types/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/char-types/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/char-types/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/char-types/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 850s ok 7 /repository/char-types 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_943L02/repository/constructor-return-type/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_943L02/repository/constructor-return-type/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/constructor-return-type/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 850s ok 8 /repository/constructor-return-type 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/enum-info-c-identifier/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 850s ok 9 /repository/enum-info-c-identifier 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/enum-info-static-methods/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/enum-info-static-methods summary: Test an enum with methods 850s ok 10 /repository/enum-info-static-methods 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/error-quark/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/error-quark/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/error-quark/.dirs/system-config1:/tmp/test_repository_943L02/repository/error-quark/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/error-quark/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/error-quark/.dirs/system-data1:/tmp/test_repository_943L02/repository/error-quark/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/error-quark/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/error-quark/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/error-quark/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/error-quark summary: Test finding an error quark by error domain 850s ok 11 /repository/error-quark 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/flags-info-c-identifier/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 850s ok 12 /repository/flags-info-c-identifier 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/fundamental-ref-func/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 850s ok 13 /repository/fundamental-ref-func 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/instance-method-ownership-transfer/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 850s ok 14 /repository/instance-method-ownership-transfer 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/object-gtype-interfaces/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 850s ok 15 /repository/object-gtype-interfaces 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/signal-info-with-array-length-arg/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 850s ok 16 /repository/signal-info-with-array-length-arg 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/type-info-name/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/type-info-name/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_943L02/repository/type-info-name/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/type-info-name/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_943L02/repository/type-info-name/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/type-info-name/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/type-info-name/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/type-info-name/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 850s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 850s ok 17 /repository/type-info-name 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/vfunc-info-with-no-invoker/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 850s ok 18 /repository/vfunc-info-with-no-invoker 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 850s ok 19 /repository/vfunc-info-with-invoker-on-interface 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 850s ok 20 /repository/vfunc-info-with-invoker-on-object 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_943L02/repository/find-by-gtype/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_943L02/repository/find-by-gtype/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/find-by-gtype/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/find-by-gtype summary: Test finding a GType 850s ok 21 /repository/find-by-gtype 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/loaded-namespaces/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/loaded-namespaces summary: Test listing loaded namespaces 850s ok 22 /repository/loaded-namespaces 850s # Start of base-info tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_943L02/repository/base-info/clear/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_943L02/repository/base-info/clear/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_943L02/repository/base-info/clear/.dirs/runtime 850s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 850s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 850s ok 23 /repository/base-info/clear 850s # End of base-info tests 850s # End of repository tests 850s ok - glib/repository.test 850s # Running test: glib/bytes.test 850s TAP version 14 850s # random seed: R02S9510bee7c384f74bd6aff2f1dd9a4857 850s 1..21 850s # Start of bytes tests 850s ok 1 /bytes/new 850s ok 2 /bytes/new-take 850s ok 3 /bytes/new-static 850s ok 4 /bytes/new-with-free-func 850s ok 5 /bytes/new-from-bytes 850s ok 6 /bytes/new-from-bytes-slice 850s ok 7 /bytes/new-from-bytes-shared-ref 850s ok 8 /bytes/hash 850s ok 9 /bytes/equal 850s ok 10 /bytes/compare 850s ok 11 /bytes/null 850s ok 12 /bytes/get-region 850s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 850s ok 13 /bytes/unref-null 850s # Start of to-data tests 850s ok 14 /bytes/to-data/transferred 850s ok 15 /bytes/to-data/two-refs 850s ok 16 /bytes/to-data/non-malloc 850s ok 17 /bytes/to-data/different-free-func 850s # End of to-data tests 850s # Start of to-array tests 850s ok 18 /bytes/to-array/transferred 850s ok 19 /bytes/to-array/two-refs 850s ok 20 /bytes/to-array/non-malloc 850s # Start of transferred tests 850s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 850s ok 21 /bytes/to-array/transferred/oversize 850s # End of transferred tests 850s # End of to-array tests 850s # End of bytes tests 850s ok - glib/bytes.test 850s # Running test: glib/portal-support-snap-classic.test 850s TAP version 14 850s # random seed: R02S830b73d2b913a55752d9768bfc6a0b20 850s 1..3 850s # Start of portal-support tests 850s # Start of snap-classic tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl/.dirs/runtime 850s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/no-snapctl: No such file or directory 850s ok 1 /portal-support/snap-classic/no-snapctl 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap-classic_Z85M02/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/none: No such file or directory 850s ok 2 /portal-support/snap-classic/none 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/runtime 850s # Created snap.yaml in /tmp/test_portal-support-snap-classic_Z85M02/meta/snap.yaml 850s # Created snapctl in /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all/.dirs/runtime/snapctl 850s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_Z85M02/portal-support/snap-classic/all: No such file or directory 850s ok 3 /portal-support/snap-classic/all 850s # End of snap-classic tests 850s # End of portal-support tests 850s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_Z85M02: No such file or directory 850s ok - glib/portal-support-snap-classic.test 850s # Running test: glib/utils-c-17.test 850s TAP version 14 850s # random seed: R02S345c30e2a61a976417658d61b9830ac7 850s 1..40 850s # Start of utils tests 850s ok 1 /utils/language-names 850s ok 2 /utils/locale-variants 850s ok 3 /utils/version 850s ok 4 /utils/appname 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 850s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 850s ok 5 /utils/prgname-thread-safety 850s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 850s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 850s ok 6 /utils/tmpdir 850s ok 7 /utils/basic_bits 850s ok 8 /utils/bits 850s ok 9 /utils/swap 850s ok 10 /utils/find-program 850s ok 11 /utils/find-program-for-path 850s ok 12 /utils/debug 850s ok 13 /utils/codeset 850s ok 14 /utils/codeset2 850s ok 15 /utils/console-charset 850s ok 16 /utils/gettext 850s ok 17 /utils/username 850s ok 18 /utils/realname 850s ok 19 /utils/hostname 850s ok 20 /utils/xdgdirs 850s ok 21 /utils/specialdir 850s # NAME: Ubuntu 850s ok 22 /utils/os-info 850s ok 23 /utils/clear-pointer 850s ok 24 /utils/clear-pointer-cast 850s ok 25 /utils/take-pointer 850s ok 26 /utils/clear-source 850s ok 27 /utils/misc-mem 850s # /utils/aligned-mem summary: Aligned memory allocator 850s # Alignment must not be zero 850s # Alignment must be a power of two 850s # Alignment must be a multiple of sizeof(void*) 850s ok 28 /utils/aligned-mem 850s # /utils/free-sized summary: Check that g_free_sized() works 850s ok 29 /utils/free-sized 850s ok 30 /utils/nullify 850s ok 31 /utils/atexit 850s ok 32 /utils/check-setuid 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 850s ok 33 /utils/int-limits 850s ok 34 /utils/clear-list 850s ok 35 /utils/clear-slist 850s # Start of specialdir tests 850s ok 36 /utils/specialdir/desktop 850s # End of specialdir tests 850s # Start of clear-pointer tests 850s ok 37 /utils/clear-pointer/side-effects 850s # End of clear-pointer tests 850s # Start of aligned-mem tests 850s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 850s ok 38 /utils/aligned-mem/alignment 850s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 850s ok 39 /utils/aligned-mem/zeroed 850s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 850s ok 40 /utils/aligned-mem/free-sized 850s # Start of subprocess tests 850s # End of subprocess tests 850s # End of aligned-mem tests 850s # End of utils tests 850s ok - glib/utils-c-17.test 850s # Running test: glib/giomodule.test 850s TAP version 14 850s # random seed: R02S0f481a80cde230ae585ad29ac3be2e5d 850s 1..3 850s # Start of giomodule tests 850s ok 1 /giomodule/extension-point 850s ok 2 /giomodule/module-scan-all 850s ok 3 /giomodule/module-scan-all-with-scope 850s # End of giomodule tests 850s ok - glib/giomodule.test 850s # Running test: glib/signals.test 850s TAP version 14 850s # random seed: R02Scc1e53358e1429b91c8d95bd93113fd3 850s 1..31 850s # Start of gobject tests 850s # Start of signals tests 850s ok 1 /gobject/signals/all-types 850s ok 2 /gobject/signals/variant 850s ok 3 /gobject/signals/destroy-target-object 850s ok 4 /gobject/signals/generic-marshaller-1 850s ok 5 /gobject/signals/generic-marshaller-2 850s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 850s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 850s ok 8 /gobject/signals/generic-marshaller-int-return 850s ok 9 /gobject/signals/generic-marshaller-uint-return 850s ok 10 /gobject/signals/generic-marshaller-interface-return 850s ok 11 /gobject/signals/custom-marshaller 850s ok 12 /gobject/signals/connect 850s ok 13 /gobject/signals/emission-hook 850s ok 14 /gobject/signals/emitv 850s ok 15 /gobject/signals/accumulator 850s # Signal: accumulator-class-first 850s # Signal: accumulator-class-last 850s # Signal: accumulator-class-cleanup 850s # Signal: accumulator-class-first-last 850s # Signal: accumulator-class-first-last-cleanup 850s # Signal: accumulator-class-last-cleanup 850s ok 16 /gobject/signals/accumulator-class 850s ok 17 /gobject/signals/introspection 850s ok 18 /gobject/signals/block-handler 850s ok 19 /gobject/signals/stop-emission 850s ok 20 /gobject/signals/invocation-hint 850s ok 21 /gobject/signals/test-disconnection-wrong-object 850s ok 22 /gobject/signals/clear-signal-handler 850s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 850s ok 23 /gobject/signals/lookup 850s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 850s ok 24 /gobject/signals/parse-name 850s ok 25 /gobject/signals/is-valid-name 850s ok 26 /gobject/signals/weak-ref-disconnect 850s # Start of lookup tests 850s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 850s ok 27 /gobject/signals/lookup/invalid 850s # End of lookup tests 850s # Start of parse-name tests 850s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 850s # Parser input: 850s # Parser input: 7zip 850s # Parser input: invalid:signal 850s # Parser input: simple-detailed:: 850s # Parser input: simple-detailed: 850s # Parser input: : 850s # Parser input: :: 850s # Parser input: :valid-detail 850s # Parser input: ::valid-detail 850s ok 28 /gobject/signals/parse-name/invalid 850s # End of parse-name tests 850s # Start of invalid-name tests 850s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 850s ok 29 /gobject/signals/invalid-name/colon 850s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 850s ok 30 /gobject/signals/invalid-name/first-char 850s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 850s ok 31 /gobject/signals/invalid-name/empty 850s # End of invalid-name tests 850s # End of signals tests 850s # End of gobject tests 850s ok - glib/signals.test 850s # Running test: glib/portal-support-env-var.test 850s TAP version 14 850s # random seed: R02S554c107347e5940808f680f12336108d 850s 1..1 850s # Start of portal-support tests 850s ok 1 /portal-support/env-var 850s # End of portal-support tests 850s ok - glib/portal-support-env-var.test 850s # Running test: glib/qdata.test 850s TAP version 14 850s # random seed: R02S79a05ffa33c242aad82129fd895dfff1 850s 1..2 850s # Start of qdata tests 850s ok 1 /qdata/threaded 850s ok 2 /qdata/dup 850s # End of qdata tests 850s ok - glib/qdata.test 850s # Running test: glib/basic-signals.test 850s TAP version 14 850s # random seed: R02S9721847cce673971cf6f65ebc87eb89f 850s 1..1 850s # Start of gobject tests 850s ok 1 /gobject/basic-signals 850s # End of gobject tests 850s ok - glib/basic-signals.test 850s # Running test: glib/volumemonitor.test 850s TAP version 14 850s # random seed: R02S44fcb93ee4d458b5e8cb160fbc1b076d 850s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 850s 1..3 850s # Start of volumemonitor tests 850s ok 1 /volumemonitor/connected_drives 850s ok 2 /volumemonitor/volumes 850s ok 3 /volumemonitor/mounts 850s # End of volumemonitor tests 850s ok - glib/volumemonitor.test 850s # Running test: glib/array-test.test 850s TAP version 14 850s # random seed: R02Sa25a31bef51e266f554b88102dec6e1e 850s 1..113 850s # Start of array tests 850s ok 1 /array/ref-count 850s ok 2 /array/steal 850s ok 3 /array/clear-func 850s ok 4 /array/binary-search 850s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 850s ok 5 /array/copy-sized 850s ok 6 /array/overflow-append-vals 850s ok 7 /array/overflow-set-size 850s # Start of new tests 850s ok 8 /array/new/zero-terminated 850s ok 9 /array/new/take 850s ok 10 /array/new/take-zero-terminated 850s # Start of take tests 850s ok 11 /array/new/take/empty 850s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 850s # End of take tests 850s # End of new tests 850s # Start of set-size tests 850s ok 13 /array/set-size/non-zero-terminated-no-clear 850s ok 14 /array/set-size/non-zero-terminated-clear 850s ok 15 /array/set-size/zero-terminated-no-clear 850s ok 16 /array/set-size/zero-terminated-clear 850s # Start of sized tests 850s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 850s ok 18 /array/set-size/sized/non-zero-terminated-clear 850s ok 19 /array/set-size/sized/zero-terminated-no-clear 850s ok 20 /array/set-size/sized/zero-terminated-clear 850s # End of sized tests 850s # End of set-size tests 850s # Start of append-val tests 850s ok 21 /array/append-val/non-zero-terminated-no-clear 850s ok 22 /array/append-val/non-zero-terminated-clear 850s ok 23 /array/append-val/zero-terminated-no-clear 850s ok 24 /array/append-val/zero-terminated-clear 850s # End of append-val tests 850s # Start of prepend-val tests 850s ok 25 /array/prepend-val/non-zero-terminated-no-clear 850s ok 26 /array/prepend-val/non-zero-terminated-clear 850s ok 27 /array/prepend-val/zero-terminated-no-clear 850s ok 28 /array/prepend-val/zero-terminated-clear 850s # End of prepend-val tests 850s # Start of prepend-vals tests 850s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 850s ok 30 /array/prepend-vals/non-zero-terminated-clear 850s ok 31 /array/prepend-vals/zero-terminated-no-clear 850s ok 32 /array/prepend-vals/zero-terminated-clear 850s # End of prepend-vals tests 850s # Start of insert-vals tests 850s ok 33 /array/insert-vals/non-zero-terminated-no-clear 850s ok 34 /array/insert-vals/non-zero-terminated-clear 850s ok 35 /array/insert-vals/zero-terminated-no-clear 850s ok 36 /array/insert-vals/zero-terminated-clear 851s # End of insert-vals tests 851s # Start of remove-index tests 851s ok 37 /array/remove-index/non-zero-terminated-no-clear 851s ok 38 /array/remove-index/non-zero-terminated-clear 851s ok 39 /array/remove-index/zero-terminated-no-clear 851s ok 40 /array/remove-index/zero-terminated-clear 851s # End of remove-index tests 851s # Start of remove-index-fast tests 851s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 851s ok 42 /array/remove-index-fast/non-zero-terminated-clear 851s ok 43 /array/remove-index-fast/zero-terminated-no-clear 851s ok 44 /array/remove-index-fast/zero-terminated-clear 851s # End of remove-index-fast tests 851s # Start of remove-range tests 851s ok 45 /array/remove-range/non-zero-terminated-no-clear 851s ok 46 /array/remove-range/non-zero-terminated-clear 851s ok 47 /array/remove-range/zero-terminated-no-clear 851s ok 48 /array/remove-range/zero-terminated-clear 851s # End of remove-range tests 851s # Start of copy tests 851s ok 49 /array/copy/non-zero-terminated-no-clear 851s ok 50 /array/copy/non-zero-terminated-clear 851s ok 51 /array/copy/zero-terminated-no-clear 851s ok 52 /array/copy/zero-terminated-clear 851s # End of copy tests 851s # Start of sort tests 851s ok 53 /array/sort/non-zero-terminated-no-clear 851s ok 54 /array/sort/non-zero-terminated-clear 851s ok 55 /array/sort/zero-terminated-no-clear 851s ok 56 /array/sort/zero-terminated-clear 851s # End of sort tests 851s # Start of sort-with-data tests 851s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 851s ok 58 /array/sort-with-data/non-zero-terminated-clear 851s ok 59 /array/sort-with-data/zero-terminated-no-clear 851s ok 60 /array/sort-with-data/zero-terminated-clear 851s # End of sort-with-data tests 851s # End of array tests 851s # Start of pointerarray tests 851s ok 61 /pointerarray/add 851s ok 62 /pointerarray/insert 851s ok 63 /pointerarray/new-take 851s ok 64 /pointerarray/new-take-null-terminated 851s ok 65 /pointerarray/new-from-array 851s ok 66 /pointerarray/new-from-null-terminated-array 851s ok 67 /pointerarray/free-func 851s ok 68 /pointerarray/array_extend_and_steal 851s ok 69 /pointerarray/sort 851s ok 70 /pointerarray/sort-with-data 851s ok 71 /pointerarray/sort-values 851s ok 72 /pointerarray/sort-values-with-data 851s ok 73 /pointerarray/remove-range 851s ok 74 /pointerarray/steal 851s # Start of free tests 851s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 851s ok 75 /pointerarray/free/null-terminated 851s # End of free tests 851s # Start of new-take tests 851s ok 76 /pointerarray/new-take/empty 851s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 851s ok 78 /pointerarray/new-take/with-free-func 851s # End of new-take tests 851s # Start of new-take-null-terminated tests 851s ok 79 /pointerarray/new-take-null-terminated/empty 851s ok 80 /pointerarray/new-take-null-terminated/with-free-func 851s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 851s # End of new-take-null-terminated tests 851s # Start of new-from-array tests 851s ok 82 /pointerarray/new-from-array/empty 851s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 851s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 851s # End of new-from-array tests 851s # Start of new-from-null-terminated-array tests 851s ok 85 /pointerarray/new-from-null-terminated-array/empty 851s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 851s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 851s # End of new-from-null-terminated-array tests 851s # Start of ref-count tests 851s ok 88 /pointerarray/ref-count/not-null-terminated 851s ok 89 /pointerarray/ref-count/null-terminated 851s # End of ref-count tests 851s # Start of array_copy tests 851s # /pointerarray/array_copy/not-null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 851s ok 90 /pointerarray/array_copy/not-null-terminated 851s # /pointerarray/array_copy/null-terminated summary: Check all normal behaviour of stealing elements from one array to append to another, covering different array sizes and element copy functions 851s ok 91 /pointerarray/array_copy/null-terminated 851s # End of array_copy tests 851s # Start of array_extend tests 851s ok 92 /pointerarray/array_extend/not-null-terminated 851s ok 93 /pointerarray/array_extend/null-terminated 851s # End of array_extend tests 851s # Start of sort tests 851s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 851s ok 94 /pointerarray/sort/example 851s # End of sort tests 851s # Start of sort-with-data tests 851s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 851s ok 95 /pointerarray/sort-with-data/example 851s # End of sort-with-data tests 851s # Start of sort-values tests 851s ok 96 /pointerarray/sort-values/example 851s # End of sort-values tests 851s # Start of sort-values-with-data tests 851s ok 97 /pointerarray/sort-values-with-data/example 851s # End of sort-values-with-data tests 851s # Start of find tests 851s ok 98 /pointerarray/find/empty 851s ok 99 /pointerarray/find/non-empty 851s # End of find tests 851s # Start of steal_index tests 851s ok 100 /pointerarray/steal_index/not-null-terminated 851s ok 101 /pointerarray/steal_index/null-terminated 851s # End of steal_index tests 851s # End of pointerarray tests 851s # Start of bytearray tests 851s ok 102 /bytearray/steal 851s ok 103 /bytearray/append 851s ok 104 /bytearray/prepend 851s ok 105 /bytearray/remove 851s ok 106 /bytearray/remove-fast 851s ok 107 /bytearray/remove-range 851s ok 108 /bytearray/ref-count 851s ok 109 /bytearray/sort 851s ok 110 /bytearray/sort-with-data 851s ok 111 /bytearray/new-take 851s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 851s ok 113 /bytearray/free-to-bytes 851s # End of bytearray tests 851s ok - glib/array-test.test 851s # Running test: glib/gdbus-test-codegen-old.test 851s TAP version 14 851s # random seed: R02S7342000c38a81a7fb44a09548a60c5ee 851s 1..8 851s # Start of gdbus tests 851s # Start of codegen tests 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/annotations/.dirs/runtime 851s ok 1 /gdbus/codegen/annotations 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/interface_stability/.dirs/runtime 851s ok 2 /gdbus/codegen/interface_stability 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/object-manager/.dirs/runtime 851s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 851s ok 3 /gdbus/codegen/object-manager 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/property-naming/.dirs/runtime 851s ok 4 /gdbus/codegen/property-naming 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/autocleanups/.dirs/runtime 851s ok 5 /gdbus/codegen/autocleanups 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/deprecations/.dirs/runtime 851s ok 6 /gdbus/codegen/deprecations 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/standalone-interface-info/.dirs/runtime 851s ok 7 /gdbus/codegen/standalone-interface-info 851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/home 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/cache 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/system-config2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/config 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/system-data2 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/data 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/state 851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_CKWC02/gdbus/codegen/unix-fd-list/.dirs/runtime 851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 851s ok 8 /gdbus/codegen/unix-fd-list 851s # End of codegen tests 851s # End of gdbus tests 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 851s ok - glib/gdbus-test-codegen-old.test 851s # Running test: glib/properties.test 851s TAP version 14 851s # random seed: R02S7fc75f5433b4d168597c25eb44d18492 851s 1..13 851s # Start of properties tests 851s ok 1 /properties/install 851s ok 2 /properties/install-many 851s ok 3 /properties/notify 851s ok 4 /properties/notify-queue 851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 851s ok 5 /properties/construct 851s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 851s # Test g_object_get_property with an initialized value 851s # Test g_object_get_property with an uninitialized value 851s # Test g_object_get_property with a transformable value 851s ok 6 /properties/get-property 851s ok 7 /properties/testv_with_no_properties 851s ok 8 /properties/testv_with_valid_properties 851s ok 9 /properties/testv_with_invalid_property_type 851s ok 10 /properties/testv_with_invalid_property_names 851s ok 11 /properties/testv_getv 851s ok 12 /properties/testv_notify_queue 851s # Start of set-property tests 851s # Start of variant tests 851s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 851s ok 13 /properties/set-property/variant/floating 851s # End of variant tests 851s # End of set-property tests 851s # End of properties tests 851s ok - glib/properties.test 851s # Running test: glib/dir.test 851s TAP version 14 851s # random seed: R02S81d3c2105359310426192cccbaee5e82 851s 1..3 851s # Start of dir tests 851s ok 1 /dir/read 851s ok 2 /dir/nonexisting 851s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 851s ok 3 /dir/refcounting 851s # End of dir tests 851s ok - glib/dir.test 851s # Running test: glib/1bit-mutex.test 851s TAP version 14 851s # random seed: R02Sc51d98a0b91277da19c769d6f52b3e41 851s 1..2 851s # Start of glib tests 851s # Start of 1bit-mutex tests 854s # Executing: glib/1bit-mutex.test 855s ok 1 /glib/1bit-mutex/int 855s # slow test /glib/1bit-mutex/int executed in 4.71 secs 859s # Executing: glib/1bit-mutex.test 860s ok 2 /glib/1bit-mutex/pointer 860s # slow test /glib/1bit-mutex/pointer executed in 4.70 secs 860s # End of 1bit-mutex tests 860s # End of glib tests 860s ok - glib/1bit-mutex.test 860s # Running test: glib/search-utils.test 860s TAP version 14 860s # random seed: R02S777f814ce77ad1b37662fe95e7810786 860s # GLib-DEBUG: Current user locale: C.UTF-8 860s 1..6 860s # Start of search tests 860s # GLib-DEBUG: Started 860s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 860s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 860s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 860s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 860s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 860s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 860s ok 1 /search/basic 860s # GLib-DEBUG: Started 860s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 860s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 860s # GLib-DEBUG: 'ele' - 'élève' should match: OK 860s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 860s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 860s ok 2 /search/composed 860s # GLib-DEBUG: Started 860s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 860s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 860s ok 3 /search/decomposed 860s # GLib-DEBUG: Started 860s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 860s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 860s ok 4 /search/turkish 860s # GLib-DEBUG: Started 860s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 860s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 860s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 860s ok 5 /search/c_locale_unicode 860s # GLib-DEBUG: Started 860s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 860s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 860s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 860s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 860s ok 6 /search/multi_words 860s # End of search tests 860s ok - glib/search-utils.test 860s # Running test: glib/properties-refcount4.test 860s TAP version 14 860s # random seed: R02Sa9dea4bf97df1a151e61b6391d0839ba 860s 1..1 860s # Start of gobject tests 860s # Start of refcount tests 860s ok 1 /gobject/refcount/properties-4 860s # End of refcount tests 860s # End of gobject tests 860s ok - glib/properties-refcount4.test 860s # Running test: glib/utf8-performance.test 860s TAP version 14 860s # random seed: R02S1ca0afc05f6e0ea000ad55eedb7c09a1 860s 1..36 860s # Start of utf8 tests 860s # Start of perf tests 860s # Start of get_char tests 860s # max perf: inf MB/s 860s ok 1 /utf8/perf/get_char/ascii 860s # max perf: inf MB/s 860s ok 2 /utf8/perf/get_char/latin1 860s # max perf: inf MB/s 860s ok 3 /utf8/perf/get_char/cyrillic 860s # max perf: inf MB/s 860s ok 4 /utf8/perf/get_char/han 860s # End of get_char tests 860s # Start of get_char-backwards tests 860s # max perf: inf MB/s 860s ok 5 /utf8/perf/get_char-backwards/ascii 860s # max perf: inf MB/s 860s ok 6 /utf8/perf/get_char-backwards/latin1 860s # max perf: 160.0 MB/s 860s ok 7 /utf8/perf/get_char-backwards/cyrillic 860s # max perf: 156.0 MB/s 860s ok 8 /utf8/perf/get_char-backwards/han 860s # End of get_char-backwards tests 860s # Start of get_char_validated tests 860s # max perf: 43.0 MB/s 860s ok 9 /utf8/perf/get_char_validated/ascii 860s # max perf: inf MB/s 860s ok 10 /utf8/perf/get_char_validated/latin1 860s # max perf: inf MB/s 860s ok 11 /utf8/perf/get_char_validated/cyrillic 860s # max perf: 156.0 MB/s 860s ok 12 /utf8/perf/get_char_validated/han 860s # End of get_char_validated tests 860s # Start of utf8_to_ucs4 tests 860s # max perf: 43.0 MB/s 860s ok 13 /utf8/perf/utf8_to_ucs4/ascii 860s # max perf: 67.0 MB/s 860s ok 14 /utf8/perf/utf8_to_ucs4/latin1 860s # max perf: 160.0 MB/s 860s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 860s # max perf: 156.0 MB/s 860s ok 16 /utf8/perf/utf8_to_ucs4/han 860s # End of utf8_to_ucs4 tests 860s # Start of utf8_to_ucs4-sized tests 860s # max perf: 43.0 MB/s 860s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 860s # max perf: 67.0 MB/s 860s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 860s # max perf: 160.0 MB/s 860s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 860s # max perf: 156.0 MB/s 860s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 860s # End of utf8_to_ucs4-sized tests 860s # Start of utf8_to_ucs4_fast tests 860s # max perf: 43.0 MB/s 860s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 860s # max perf: inf MB/s 860s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 860s # max perf: 160.0 MB/s 860s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 860s # max perf: inf MB/s 860s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 860s # End of utf8_to_ucs4_fast tests 860s # Start of utf8_to_ucs4_fast-sized tests 860s # max perf: inf MB/s 860s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 860s # max perf: 67.0 MB/s 860s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 860s # max perf: inf MB/s 860s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 860s # max perf: inf MB/s 860s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 860s # End of utf8_to_ucs4_fast-sized tests 860s # Start of utf8_validate tests 860s # max perf: inf MB/s 860s ok 29 /utf8/perf/utf8_validate/ascii 860s # max perf: 67.0 MB/s 860s ok 30 /utf8/perf/utf8_validate/latin1 860s # max perf: inf MB/s 860s ok 31 /utf8/perf/utf8_validate/cyrillic 860s # max perf: 156.0 MB/s 860s ok 32 /utf8/perf/utf8_validate/han 860s # End of utf8_validate tests 860s # Start of utf8_validate-sized tests 860s # max perf: inf MB/s 860s ok 33 /utf8/perf/utf8_validate-sized/ascii 860s # max perf: 67.0 MB/s 860s ok 34 /utf8/perf/utf8_validate-sized/latin1 860s # max perf: 6.7 MB/s 860s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 860s # max perf: inf MB/s 860s ok 36 /utf8/perf/utf8_validate-sized/han 860s # End of utf8_validate-sized tests 860s # End of perf tests 860s # End of utf8 tests 860s ok - glib/utf8-performance.test 860s # Running test: glib/gdbus-proxy-well-known-name.test 860s TAP version 14 860s # random seed: R02S89d8f48589439df1e3855c6c5ba6e3d6 860s 1..1 860s # Start of gdbus tests 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_Y7I6Z2/gdbus/proxy-well-known-name/.dirs/runtime 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s ok 1 /gdbus/proxy-well-known-name 860s # End of gdbus tests 860s ok - glib/gdbus-proxy-well-known-name.test 860s # Running test: glib/unicode.test 860s TAP version 14 860s # random seed: R02S475cf88fcd6c7d690c76da23a82a7453 860s 1..39 860s # Start of unicode tests 860s ok 1 /unicode/alnum 860s ok 2 /unicode/alpha 860s ok 3 /unicode/break-type 860s ok 4 /unicode/canonical-decomposition 860s ok 5 /unicode/casefold 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s # Cannot set locale to lt_LT, skipping 860s ok 6 /unicode/casemap_and_casefold 860s ok 7 /unicode/cases 860s ok 8 /unicode/character-type 860s ok 9 /unicode/cntrl 860s ok 10 /unicode/combining-class 860s ok 11 /unicode/compose 860s ok 12 /unicode/decompose 860s ok 13 /unicode/decompose-tail 860s ok 14 /unicode/defined 860s ok 15 /unicode/digit 860s ok 16 /unicode/digit-value 860s ok 17 /unicode/fully-decompose-canonical 860s ok 18 /unicode/fully-decompose-len 860s ok 19 /unicode/normalization 860s ok 20 /unicode/graph 860s # Testing script Zyyy (code 1517910393) 860s # Testing script Zinh (code 1516858984) 860s # Testing script Zmth (code 1517122664) 860s # Testing script Arab (code 1098015074) 860s # Testing script Armn (code 1098018158) 860s # Testing script Beng (code 1113943655) 860s # Testing script Bopo (code 1114599535) 860s # Testing script Cher (code 1130915186) 860s # Testing script Copt (code 1131376756) 860s # Testing script Cyrl (code 1132032620) 860s # Testing script Dsrt (code 1148416628) 860s # Testing script Deva (code 1147500129) 860s # Testing script Ethi (code 1165256809) 860s # Testing script Geor (code 1197830002) 860s # Testing script Goth (code 1198486632) 860s # Testing script Grek (code 1198679403) 860s # Testing script Gujr (code 1198877298) 860s # Testing script Guru (code 1198879349) 860s # Testing script Hani (code 1214344809) 860s # Testing script Hang (code 1214344807) 860s # Testing script Hebr (code 1214603890) 860s # Testing script Hira (code 1214870113) 860s # Testing script Knda (code 1265525857) 860s # Testing script Kana (code 1264676449) 860s # Testing script Khmr (code 1265134962) 860s # Testing script Laoo (code 1281453935) 860s # Testing script Latn (code 1281455214) 860s # Testing script Mlym (code 1298954605) 860s # Testing script Mong (code 1299148391) 860s # Testing script Mymr (code 1299803506) 860s # Testing script Ogam (code 1332175213) 860s # Testing script Ital (code 1232363884) 860s # Testing script Orya (code 1332902241) 860s # Testing script Runr (code 1383427698) 860s # Testing script Sinh (code 1399418472) 860s # Testing script Syrc (code 1400468067) 860s # Testing script Taml (code 1415671148) 860s # Testing script Telu (code 1415933045) 860s # Testing script Thaa (code 1416126817) 860s # Testing script Thai (code 1416126825) 860s # Testing script Tibt (code 1416192628) 860s # Testing script Cans (code 1130458739) 860s # Testing script Yiii (code 1500080489) 860s # Testing script Tglg (code 1416064103) 860s # Testing script Hano (code 1214344815) 860s # Testing script Buhd (code 1114990692) 860s # Testing script Tagb (code 1415669602) 860s # Testing script Brai (code 1114792297) 860s # Testing script Cprt (code 1131442804) 860s # Testing script Limb (code 1281977698) 860s # Testing script Osma (code 1332964705) 860s # Testing script Shaw (code 1399349623) 860s # Testing script Linb (code 1281977954) 860s # Testing script Tale (code 1415670885) 860s # Testing script Ugar (code 1432838514) 860s # Testing script Talu (code 1415670901) 860s # Testing script Bugi (code 1114990441) 860s # Testing script Glag (code 1198285159) 860s # Testing script Tfng (code 1415999079) 860s # Testing script Sylo (code 1400466543) 860s # Testing script Xpeo (code 1483761007) 860s # Testing script Khar (code 1265131890) 860s # Testing script Zzzz (code 1517976186) 860s # Testing script Bali (code 1113681001) 860s # Testing script Xsux (code 1483961720) 860s # Testing script Phnx (code 1349021304) 860s # Testing script Phag (code 1349017959) 860s # Testing script Nkoo (code 1315663727) 860s # Testing script Kali (code 1264675945) 860s # Testing script Lepc (code 1281716323) 860s # Testing script Rjng (code 1382706791) 860s # Testing script Sund (code 1400204900) 860s # Testing script Saur (code 1398895986) 860s # Testing script Cham (code 1130914157) 860s # Testing script Olck (code 1332503403) 860s # Testing script Vaii (code 1449224553) 860s # Testing script Cari (code 1130459753) 860s # Testing script Lyci (code 1283023721) 860s # Testing script Lydi (code 1283023977) 860s # Testing script Avst (code 1098281844) 860s # Testing script Bamu (code 1113681269) 860s # Testing script Egyp (code 1164409200) 860s # Testing script Armi (code 1098018153) 860s # Testing script Phli (code 1349020777) 860s # Testing script Prti (code 1349678185) 860s # Testing script Java (code 1247901281) 860s # Testing script Kthi (code 1265920105) 860s # Testing script Lisu (code 1281979253) 860s # Testing script Mtei (code 1299473769) 860s # Testing script Sarb (code 1398895202) 860s # Testing script Orkh (code 1332898664) 860s # Testing script Samr (code 1398893938) 860s # Testing script Lana (code 1281453665) 860s # Testing script Tavt (code 1415673460) 860s # Testing script Batk (code 1113683051) 860s # Testing script Brah (code 1114792296) 860s # Testing script Mand (code 1298230884) 860s # Testing script Cakm (code 1130457965) 860s # Testing script Merc (code 1298494051) 860s # Testing script Mero (code 1298494063) 860s # Testing script Plrd (code 1349284452) 860s # Testing script Shrd (code 1399353956) 860s # Testing script Sora (code 1399812705) 860s # Testing script Takr (code 1415670642) 860s # Testing script Bass (code 1113682803) 860s # Testing script Aghb (code 1097295970) 860s # Testing script Dupl (code 1148547180) 860s # Testing script Elba (code 1164730977) 860s # Testing script Gran (code 1198678382) 860s # Testing script Khoj (code 1265135466) 860s # Testing script Sind (code 1399418468) 860s # Testing script Lina (code 1281977953) 860s # Testing script Mahj (code 1298229354) 860s # Testing script Mani (code 1298230889) 860s # Testing script Mend (code 1298493028) 860s # Testing script Modi (code 1299145833) 860s # Testing script Mroo (code 1299345263) 860s # Testing script Nbat (code 1315070324) 860s # Testing script Narb (code 1315009122) 860s # Testing script Perm (code 1348825709) 860s # Testing script Hmng (code 1215131239) 860s # Testing script Palm (code 1348562029) 860s # Testing script Pauc (code 1348564323) 860s # Testing script Phlp (code 1349020784) 860s # Testing script Sidd (code 1399415908) 860s # Testing script Tirh (code 1416196712) 860s # Testing script Wara (code 1466004065) 860s # Testing script Ahom (code 1097363309) 860s # Testing script Hluw (code 1215067511) 860s # Testing script Hatr (code 1214346354) 860s # Testing script Mult (code 1299541108) 860s # Testing script Hung (code 1215655527) 860s # Testing script Sgnw (code 1399287415) 860s # Testing script Adlm (code 1097100397) 860s # Testing script Bhks (code 1114139507) 860s # Testing script Marc (code 1298231907) 860s # Testing script Newa (code 1315272545) 860s # Testing script Osge (code 1332963173) 860s # Testing script Tang (code 1415671399) 860s # Testing script Gonm (code 1198485101) 860s # Testing script Nshu (code 1316186229) 860s # Testing script Soyo (code 1399814511) 860s # Testing script Zanb (code 1516334690) 860s # Testing script Dogr (code 1148151666) 860s # Testing script Gong (code 1198485095) 860s # Testing script Rohg (code 1383032935) 860s # Testing script Maka (code 1298230113) 860s # Testing script Medf (code 1298490470) 860s # Testing script Sogo (code 1399809903) 860s # Testing script Sogd (code 1399809892) 860s # Testing script Elym (code 1164736877) 860s # Testing script Nand (code 1315008100) 860s # Testing script Hmnp (code 1215131248) 860s # Testing script Wcho (code 1466132591) 860s # Testing script Chrs (code 1130918515) 860s # Testing script Diak (code 1147756907) 860s # Testing script Kits (code 1265202291) 860s # Testing script Yezi (code 1499822697) 860s # Testing script Cpmn (code 1131441518) 860s # Testing script Ougr (code 1333094258) 860s # Testing script Tnsa (code 1416524641) 860s # Testing script Toto (code 1416590447) 860s # Testing script Vith (code 1449751656) 860s # Testing script Kawi (code 1264678761) 860s # Testing script Nagm (code 1315006317) 860s ok 21 /unicode/iso15924 860s ok 22 /unicode/lower 860s ok 23 /unicode/mark 860s ok 24 /unicode/mirror 860s ok 25 /unicode/print 860s ok 26 /unicode/punctuation 860s ok 27 /unicode/script 860s ok 28 /unicode/space 860s ok 29 /unicode/strdown 860s ok 30 /unicode/strup 860s ok 31 /unicode/turkish-strupdown 860s ok 32 /unicode/title 860s ok 33 /unicode/upper 860s ok 34 /unicode/validate 860s ok 35 /unicode/wide 860s ok 36 /unicode/xdigit 860s ok 37 /unicode/xdigit-value 860s ok 38 /unicode/zero-width 860s ok 39 /unicode/normalize 860s # End of unicode tests 860s ok - glib/unicode.test 860s # Running test: glib/registered-type-info.test 860s TAP version 14 860s # random seed: R02S37037b40f38bf5976580e9e6de1f9606 860s 1..1 860s # Start of registered-type-info tests 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_W3PP02/registered-type-info/boxed/.dirs/runtime 860s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 860s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 860s # Expecting CClosure to not be boxed 860s # Expecting TypeCValue to not be boxed 860s # Expecting InitiallyUnownedClass to not be boxed 860s # Expecting BookmarkFile to be boxed 860s # Expecting Closure to be boxed 860s # Expecting Object to not be boxed 860s ok 1 /registered-type-info/boxed 860s # End of registered-type-info tests 860s ok - glib/registered-type-info.test 860s # Running test: glib/dbus-appinfo.test 860s TAP version 14 860s # random seed: R02Sb2a21a28ecc7d11ebb2cfb90b05b089c 860s 1..3 860s # Start of appinfo tests 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 860s ok 1 /appinfo/dbusappinfo 860s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 860s dbus-daemon[3496]: [session uid=1000 pid=3496] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=3495 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 860s # Acquired a message bus connection 860s dbus-daemon[3496]: [session uid=1000 pid=3496] Successfully activated service 'org.freedesktop.portal.Documents' 860s # Acquired the name org.freedesktop.portal.Documents 860s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 860s ok 2 /appinfo/flatpak-doc-export 860s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 860s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 860s ok 3 /appinfo/flatpak-missing-doc-export 860s # End of appinfo tests 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 860s # Lost the name org.freedesktop.portal.Documents 860s ok - glib/dbus-appinfo.test 860s # Running test: glib/gdbus-proxy.test 860s TAP version 14 860s # random seed: R02S1faee172d78e24f6c6a8bf0d828235f9 860s 1..5 860s # Start of gdbus tests 860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/home 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/cache 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/system-config2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/config 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/system-data2 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/data 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/state 860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/.dirs/runtime 860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s ok 1 /gdbus/proxy 862s # slow test /gdbus/proxy executed in 1.73 secs 862s # Start of proxy tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-properties/.dirs/runtime 862s ok 2 /gdbus/proxy/no-properties 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/wellknown-noauto/.dirs/runtime 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 862s ok 3 /gdbus/proxy/wellknown-noauto 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/async/.dirs/runtime 862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 864s ok 4 /gdbus/proxy/async 864s # slow test /gdbus/proxy/async executed in 1.74 secs 864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/home 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/cache 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/system-config2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/config 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/system-data2 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/data 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/state 864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_SZ5P02/gdbus/proxy/no-match-rule/.dirs/runtime 864s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 864s # Executing: glib/gdbus-proxy.test 864s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 865s ok 5 /gdbus/proxy/no-match-rule 865s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 865s # End of proxy tests 865s # End of gdbus tests 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 865s ok - glib/gdbus-proxy.test 865s # Running test: glib/gdbus-peer.test 865s TAP version 14 865s # random seed: R02S7fc16cdd7727ee2cd125f8fd251c6919 865s 1..12 865s # Start of gdbus tests 865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/home 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/cache 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/system-config2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/config 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/system-data2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/data 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/state 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/.dirs/runtime 865s # Testing with unix:dir address 865s # Testing with unix:tmpdir address 865s # Testing with unix:path address 865s ok 1 /gdbus/peer-to-peer 865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/home 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/cache 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/system-config2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/config 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/system-data2 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/data 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/state 865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/delayed-message-processing/.dirs/runtime 865s # Testing with unix:dir address 866s ok 2 /gdbus/delayed-message-processing 866s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 866s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/home 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/cache 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/system-config2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/config 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/system-data2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/data 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/state 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/nonce-tcp/.dirs/runtime 866s ok 3 /gdbus/nonce-tcp 866s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/home 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/cache 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/system-config2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/config 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/system-data2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/data 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/state 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/tcp-anonymous/.dirs/runtime 866s ok 4 /gdbus/tcp-anonymous 866s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/home 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/cache 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/system-config2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/config 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/system-data2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/data 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/state 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/credentials/.dirs/runtime 866s ok 5 /gdbus/credentials 866s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/home 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/cache 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/system-config2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/config 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/system-data2 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/data 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/state 866s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/codegen-peer-to-peer/.dirs/runtime 866s # Testing with unix:dir address 866s # Machine ID: 6c3e6711542940e49821ddfd2a10c429 867s ok 6 /gdbus/codegen-peer-to-peer 867s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 867s # Start of peer-to-peer tests 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/signals/.dirs/runtime 867s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 867s # Testing with unix:dir address 867s ok 7 /gdbus/peer-to-peer/signals 867s # Start of invalid tests 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/server/.dirs/runtime 867s ok 8 /gdbus/peer-to-peer/invalid/server 867s # Start of conn tests 867s # Start of stream tests 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 867s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 867s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 867s # End of stream tests 867s # Start of addr tests 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 867s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_SGWJ02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 867s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 867s # End of addr tests 867s # End of conn tests 867s # End of invalid tests 867s # End of peer-to-peer tests 867s # End of gdbus tests 867s ok - glib/gdbus-peer.test 867s # Running test: glib/properties-refcount3.test 867s TAP version 14 867s # random seed: R02S2c2a50ac209a0194e92e7e584e20857f 867s 1..1 867s # Start of gobject tests 867s # Start of refcount tests 869s # Executing: glib/properties-refcount3.test 874s # Executing: glib/properties-refcount3.test 879s # Executing: glib/properties-refcount3.test 884s # Executing: glib/properties-refcount3.test 889s # Executing: glib/properties-refcount3.test 894s # Executing: glib/properties-refcount3.test 897s # 897s # stopping 897s # 897s # stopped 897s # 897s # 13358372 163137 897s # 897s ok 1 /gobject/refcount/properties-3 897s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 897s # End of refcount tests 897s # End of gobject tests 897s ok - glib/properties-refcount3.test 897s # Running test: glib/tls-interaction.test 897s TAP version 14 897s # random seed: R02S7967c50f7e3eed65ae9a2202bd857789 897s 1..42 897s # Start of tls-interaction tests 897s # Start of ask-password tests 897s # Start of invoke-with-loop tests 897s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 897s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 897s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 897s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 897s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 897s # End of invoke-with-loop tests 897s # Start of invoke-without-loop tests 897s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 897s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 897s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 897s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 897s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 897s # End of invoke-without-loop tests 897s # Start of invoke-in-loop tests 897s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 897s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 897s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 897s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 897s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 897s # End of invoke-in-loop tests 897s # Start of sync tests 897s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 897s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 897s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 897s # End of sync tests 897s # Start of async tests 897s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 897s ok 20 /tls-interaction/ask-password/async/async-implementation-success 897s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 897s # End of async tests 897s # End of ask-password tests 897s # Start of request-certificate tests 897s # Start of invoke-with-loop tests 897s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 897s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 897s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 897s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 897s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 897s # End of invoke-with-loop tests 897s # Start of invoke-without-loop tests 897s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 897s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 897s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 897s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 897s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 897s # End of invoke-without-loop tests 897s # Start of invoke-in-loop tests 897s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 897s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 897s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 897s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 897s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 897s # End of invoke-in-loop tests 897s # Start of sync tests 897s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 897s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 897s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 897s # End of sync tests 897s # Start of async tests 897s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 897s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 897s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 897s # End of async tests 897s # End of request-certificate tests 897s # End of tls-interaction tests 897s ok - glib/tls-interaction.test 897s # Running test: glib/scannerapi.test 897s TAP version 14 897s # random seed: R02Sd40309155a1f656eff303d137eea8713 897s 1..4 897s # Start of scanner tests 897s ok 1 /scanner/warn 897s ok 2 /scanner/error 897s ok 3 /scanner/symbols 897s ok 4 /scanner/tokens 897s # End of scanner tests 897s ok - glib/scannerapi.test 897s # Running test: glib/mutex.test 897s TAP version 14 897s # random seed: R02S11d832a88de5e7314116b4807c615adc 897s 1..17 897s # Start of thread tests 897s ok 1 /thread/mutex1 897s ok 2 /thread/mutex2 897s ok 3 /thread/mutex3 897s ok 4 /thread/mutex4 899s # Executing: glib/mutex.test 902s ok 5 /thread/mutex5 902s # slow test /thread/mutex5 executed in 4.65 secs 902s # Start of mutex tests 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s # /thread/mutex/errno summary: Validates that errno is not touched upon return 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 902s ok 6 /thread/mutex/errno 902s # Start of perf tests 902s # max perf: inf mips 902s ok 7 /thread/mutex/perf/uncontended 902s # Start of contended tests 902s # max perf: inf mips 902s ok 8 /thread/mutex/perf/contended/1 902s # max perf: 3.000000 mips 902s ok 9 /thread/mutex/perf/contended/2 902s # max perf: 4.000000 mips 902s ok 10 /thread/mutex/perf/contended/3 902s # max perf: inf mips 902s ok 11 /thread/mutex/perf/contended/4 902s # max perf: inf mips 902s ok 12 /thread/mutex/perf/contended/5 902s # max perf: 3.500000 mips 902s ok 13 /thread/mutex/perf/contended/6 902s # max perf: 2.666667 mips 902s ok 14 /thread/mutex/perf/contended/7 902s # max perf: 4.500000 mips 902s ok 15 /thread/mutex/perf/contended/8 902s # max perf: 10.000000 mips 902s ok 16 /thread/mutex/perf/contended/9 902s # max perf: 3.666667 mips 902s ok 17 /thread/mutex/perf/contended/10 902s # End of contended tests 902s # End of perf tests 902s # End of mutex tests 902s # End of thread tests 902s ok - glib/mutex.test 902s # Running test: glib/checksum.test 902s TAP version 14 902s # random seed: R02S5c41480d737d3c144e16298b06fab600 902s 1..1851 902s # Start of checksum tests 902s ok 1 /checksum/unsupported 902s # Start of MD5 tests 902s ok 2 /checksum/MD5/0 902s ok 3 /checksum/MD5/1 902s ok 4 /checksum/MD5/2 902s ok 5 /checksum/MD5/3 902s ok 6 /checksum/MD5/4 902s ok 7 /checksum/MD5/5 902s ok 8 /checksum/MD5/6 902s ok 9 /checksum/MD5/7 902s ok 10 /checksum/MD5/8 902s ok 11 /checksum/MD5/9 902s ok 12 /checksum/MD5/10 902s ok 13 /checksum/MD5/11 902s ok 14 /checksum/MD5/12 902s ok 15 /checksum/MD5/13 902s ok 16 /checksum/MD5/14 902s ok 17 /checksum/MD5/15 902s ok 18 /checksum/MD5/16 902s ok 19 /checksum/MD5/17 902s ok 20 /checksum/MD5/18 902s ok 21 /checksum/MD5/19 902s ok 22 /checksum/MD5/20 902s ok 23 /checksum/MD5/21 902s ok 24 /checksum/MD5/22 902s ok 25 /checksum/MD5/23 902s ok 26 /checksum/MD5/24 902s ok 27 /checksum/MD5/25 902s ok 28 /checksum/MD5/26 902s ok 29 /checksum/MD5/27 902s ok 30 /checksum/MD5/28 902s ok 31 /checksum/MD5/29 902s ok 32 /checksum/MD5/30 902s ok 33 /checksum/MD5/31 902s ok 34 /checksum/MD5/32 902s ok 35 /checksum/MD5/33 902s ok 36 /checksum/MD5/34 902s ok 37 /checksum/MD5/35 902s ok 38 /checksum/MD5/36 902s ok 39 /checksum/MD5/37 902s ok 40 /checksum/MD5/38 902s ok 41 /checksum/MD5/39 902s ok 42 /checksum/MD5/40 902s ok 43 /checksum/MD5/41 902s ok 44 /checksum/MD5/42 902s ok 45 /checksum/MD5/43 902s ok 46 /checksum/MD5/44 902s ok 47 /checksum/MD5/45 902s ok 48 /checksum/MD5/46 902s ok 49 /checksum/MD5/47 902s ok 50 /checksum/MD5/48 902s ok 51 /checksum/MD5/49 902s ok 52 /checksum/MD5/50 902s ok 53 /checksum/MD5/51 902s ok 54 /checksum/MD5/52 902s ok 55 /checksum/MD5/53 902s ok 56 /checksum/MD5/54 902s ok 57 /checksum/MD5/55 902s ok 58 /checksum/MD5/56 902s ok 59 /checksum/MD5/57 902s ok 60 /checksum/MD5/58 902s ok 61 /checksum/MD5/59 902s ok 62 /checksum/MD5/60 902s ok 63 /checksum/MD5/61 902s ok 64 /checksum/MD5/62 902s ok 65 /checksum/MD5/63 902s ok 66 /checksum/MD5/64 902s ok 67 /checksum/MD5/65 902s ok 68 /checksum/MD5/66 902s ok 69 /checksum/MD5/67 902s ok 70 /checksum/MD5/68 902s ok 71 /checksum/MD5/69 902s ok 72 /checksum/MD5/70 902s ok 73 /checksum/MD5/71 902s ok 74 /checksum/MD5/72 902s ok 75 /checksum/MD5/73 902s ok 76 /checksum/MD5/74 902s ok 77 /checksum/MD5/75 902s ok 78 /checksum/MD5/76 902s ok 79 /checksum/MD5/77 902s ok 80 /checksum/MD5/78 902s ok 81 /checksum/MD5/79 902s ok 82 /checksum/MD5/80 902s ok 83 /checksum/MD5/81 902s ok 84 /checksum/MD5/82 902s ok 85 /checksum/MD5/83 902s ok 86 /checksum/MD5/84 902s ok 87 /checksum/MD5/85 902s ok 88 /checksum/MD5/86 902s ok 89 /checksum/MD5/87 902s ok 90 /checksum/MD5/88 902s ok 91 /checksum/MD5/89 902s ok 92 /checksum/MD5/90 902s ok 93 /checksum/MD5/91 902s ok 94 /checksum/MD5/92 902s ok 95 /checksum/MD5/93 902s ok 96 /checksum/MD5/94 902s ok 97 /checksum/MD5/95 902s ok 98 /checksum/MD5/96 902s ok 99 /checksum/MD5/97 902s ok 100 /checksum/MD5/98 902s ok 101 /checksum/MD5/99 902s ok 102 /checksum/MD5/100 902s ok 103 /checksum/MD5/101 902s ok 104 /checksum/MD5/102 902s ok 105 /checksum/MD5/103 902s ok 106 /checksum/MD5/104 902s ok 107 /checksum/MD5/105 902s ok 108 /checksum/MD5/106 902s ok 109 /checksum/MD5/107 902s ok 110 /checksum/MD5/108 902s ok 111 /checksum/MD5/109 902s ok 112 /checksum/MD5/110 902s ok 113 /checksum/MD5/111 902s ok 114 /checksum/MD5/112 902s ok 115 /checksum/MD5/113 902s ok 116 /checksum/MD5/114 902s ok 117 /checksum/MD5/115 902s ok 118 /checksum/MD5/116 902s ok 119 /checksum/MD5/117 902s ok 120 /checksum/MD5/118 902s ok 121 /checksum/MD5/119 902s ok 122 /checksum/MD5/120 902s ok 123 /checksum/MD5/121 902s ok 124 /checksum/MD5/122 902s ok 125 /checksum/MD5/123 902s ok 126 /checksum/MD5/124 902s ok 127 /checksum/MD5/125 902s ok 128 /checksum/MD5/126 902s ok 129 /checksum/MD5/127 902s ok 130 /checksum/MD5/128 902s ok 131 /checksum/MD5/129 902s ok 132 /checksum/MD5/130 902s ok 133 /checksum/MD5/131 902s ok 134 /checksum/MD5/132 902s ok 135 /checksum/MD5/133 902s ok 136 /checksum/MD5/134 902s ok 137 /checksum/MD5/135 902s ok 138 /checksum/MD5/136 902s ok 139 /checksum/MD5/137 902s ok 140 /checksum/MD5/138 902s ok 141 /checksum/MD5/139 902s ok 142 /checksum/MD5/140 902s ok 143 /checksum/MD5/141 902s ok 144 /checksum/MD5/142 902s ok 145 /checksum/MD5/143 902s ok 146 /checksum/MD5/144 902s ok 147 /checksum/MD5/145 902s ok 148 /checksum/MD5/146 902s ok 149 /checksum/MD5/147 902s ok 150 /checksum/MD5/148 902s ok 151 /checksum/MD5/149 902s ok 152 /checksum/MD5/150 902s ok 153 /checksum/MD5/151 902s ok 154 /checksum/MD5/152 902s ok 155 /checksum/MD5/153 902s ok 156 /checksum/MD5/154 902s ok 157 /checksum/MD5/155 902s ok 158 /checksum/MD5/156 902s ok 159 /checksum/MD5/157 902s ok 160 /checksum/MD5/158 902s ok 161 /checksum/MD5/159 902s ok 162 /checksum/MD5/160 902s ok 163 /checksum/MD5/161 902s ok 164 /checksum/MD5/162 902s ok 165 /checksum/MD5/163 902s ok 166 /checksum/MD5/164 902s ok 167 /checksum/MD5/165 902s ok 168 /checksum/MD5/166 902s ok 169 /checksum/MD5/167 902s ok 170 /checksum/MD5/168 902s ok 171 /checksum/MD5/169 902s ok 172 /checksum/MD5/170 902s ok 173 /checksum/MD5/171 902s ok 174 /checksum/MD5/172 902s ok 175 /checksum/MD5/173 902s ok 176 /checksum/MD5/174 902s ok 177 /checksum/MD5/175 902s ok 178 /checksum/MD5/176 902s ok 179 /checksum/MD5/177 902s ok 180 /checksum/MD5/178 902s ok 181 /checksum/MD5/179 902s ok 182 /checksum/MD5/180 902s ok 183 /checksum/MD5/181 902s ok 184 /checksum/MD5/182 902s ok 185 /checksum/MD5/183 902s ok 186 /checksum/MD5/string 902s ok 187 /checksum/MD5/bytes 902s # Start of reset tests 902s ok 188 /checksum/MD5/reset/0 902s ok 189 /checksum/MD5/reset/1 902s ok 190 /checksum/MD5/reset/2 902s ok 191 /checksum/MD5/reset/3 902s ok 192 /checksum/MD5/reset/4 902s ok 193 /checksum/MD5/reset/5 902s ok 194 /checksum/MD5/reset/6 902s ok 195 /checksum/MD5/reset/7 902s ok 196 /checksum/MD5/reset/8 902s ok 197 /checksum/MD5/reset/9 902s ok 198 /checksum/MD5/reset/10 902s ok 199 /checksum/MD5/reset/11 902s ok 200 /checksum/MD5/reset/12 902s ok 201 /checksum/MD5/reset/13 902s ok 202 /checksum/MD5/reset/14 902s ok 203 /checksum/MD5/reset/15 902s ok 204 /checksum/MD5/reset/16 902s ok 205 /checksum/MD5/reset/17 902s ok 206 /checksum/MD5/reset/18 902s ok 207 /checksum/MD5/reset/19 902s ok 208 /checksum/MD5/reset/20 902s ok 209 /checksum/MD5/reset/21 902s ok 210 /checksum/MD5/reset/22 902s ok 211 /checksum/MD5/reset/23 902s ok 212 /checksum/MD5/reset/24 902s ok 213 /checksum/MD5/reset/25 902s ok 214 /checksum/MD5/reset/26 902s ok 215 /checksum/MD5/reset/27 902s ok 216 /checksum/MD5/reset/28 902s ok 217 /checksum/MD5/reset/29 902s ok 218 /checksum/MD5/reset/30 902s ok 219 /checksum/MD5/reset/31 902s ok 220 /checksum/MD5/reset/32 902s ok 221 /checksum/MD5/reset/33 902s ok 222 /checksum/MD5/reset/34 902s ok 223 /checksum/MD5/reset/35 902s ok 224 /checksum/MD5/reset/36 902s ok 225 /checksum/MD5/reset/37 902s ok 226 /checksum/MD5/reset/38 902s ok 227 /checksum/MD5/reset/39 902s ok 228 /checksum/MD5/reset/40 902s ok 229 /checksum/MD5/reset/41 902s ok 230 /checksum/MD5/reset/42 902s ok 231 /checksum/MD5/reset/43 902s ok 232 /checksum/MD5/reset/44 902s ok 233 /checksum/MD5/reset/45 902s ok 234 /checksum/MD5/reset/46 902s ok 235 /checksum/MD5/reset/47 902s ok 236 /checksum/MD5/reset/48 902s ok 237 /checksum/MD5/reset/49 902s ok 238 /checksum/MD5/reset/50 902s ok 239 /checksum/MD5/reset/51 902s ok 240 /checksum/MD5/reset/52 902s ok 241 /checksum/MD5/reset/53 902s ok 242 /checksum/MD5/reset/54 902s ok 243 /checksum/MD5/reset/55 902s ok 244 /checksum/MD5/reset/56 902s ok 245 /checksum/MD5/reset/57 902s ok 246 /checksum/MD5/reset/58 902s ok 247 /checksum/MD5/reset/59 902s ok 248 /checksum/MD5/reset/60 902s ok 249 /checksum/MD5/reset/61 902s ok 250 /checksum/MD5/reset/62 902s ok 251 /checksum/MD5/reset/63 902s ok 252 /checksum/MD5/reset/64 902s ok 253 /checksum/MD5/reset/65 902s ok 254 /checksum/MD5/reset/66 902s ok 255 /checksum/MD5/reset/67 902s ok 256 /checksum/MD5/reset/68 902s ok 257 /checksum/MD5/reset/69 902s ok 258 /checksum/MD5/reset/70 902s ok 259 /checksum/MD5/reset/71 902s ok 260 /checksum/MD5/reset/72 902s ok 261 /checksum/MD5/reset/73 902s ok 262 /checksum/MD5/reset/74 902s ok 263 /checksum/MD5/reset/75 902s ok 264 /checksum/MD5/reset/76 902s ok 265 /checksum/MD5/reset/77 902s ok 266 /checksum/MD5/reset/78 902s ok 267 /checksum/MD5/reset/79 902s ok 268 /checksum/MD5/reset/80 902s ok 269 /checksum/MD5/reset/81 902s ok 270 /checksum/MD5/reset/82 902s ok 271 /checksum/MD5/reset/83 902s ok 272 /checksum/MD5/reset/84 902s ok 273 /checksum/MD5/reset/85 902s ok 274 /checksum/MD5/reset/86 902s ok 275 /checksum/MD5/reset/87 902s ok 276 /checksum/MD5/reset/88 902s ok 277 /checksum/MD5/reset/89 902s ok 278 /checksum/MD5/reset/90 902s ok 279 /checksum/MD5/reset/91 902s ok 280 /checksum/MD5/reset/92 902s ok 281 /checksum/MD5/reset/93 902s ok 282 /checksum/MD5/reset/94 902s ok 283 /checksum/MD5/reset/95 902s ok 284 /checksum/MD5/reset/96 902s ok 285 /checksum/MD5/reset/97 902s ok 286 /checksum/MD5/reset/98 902s ok 287 /checksum/MD5/reset/99 902s ok 288 /checksum/MD5/reset/100 902s ok 289 /checksum/MD5/reset/101 902s ok 290 /checksum/MD5/reset/102 902s ok 291 /checksum/MD5/reset/103 902s ok 292 /checksum/MD5/reset/104 902s ok 293 /checksum/MD5/reset/105 902s ok 294 /checksum/MD5/reset/106 902s ok 295 /checksum/MD5/reset/107 902s ok 296 /checksum/MD5/reset/108 902s ok 297 /checksum/MD5/reset/109 902s ok 298 /checksum/MD5/reset/110 902s ok 299 /checksum/MD5/reset/111 902s ok 300 /checksum/MD5/reset/112 902s ok 301 /checksum/MD5/reset/113 902s ok 302 /checksum/MD5/reset/114 902s ok 303 /checksum/MD5/reset/115 902s ok 304 /checksum/MD5/reset/116 902s ok 305 /checksum/MD5/reset/117 902s ok 306 /checksum/MD5/reset/118 902s ok 307 /checksum/MD5/reset/119 902s ok 308 /checksum/MD5/reset/120 902s ok 309 /checksum/MD5/reset/121 902s ok 310 /checksum/MD5/reset/122 902s ok 311 /checksum/MD5/reset/123 902s ok 312 /checksum/MD5/reset/124 902s ok 313 /checksum/MD5/reset/125 902s ok 314 /checksum/MD5/reset/126 902s ok 315 /checksum/MD5/reset/127 902s ok 316 /checksum/MD5/reset/128 902s ok 317 /checksum/MD5/reset/129 902s ok 318 /checksum/MD5/reset/130 902s ok 319 /checksum/MD5/reset/131 902s ok 320 /checksum/MD5/reset/132 902s ok 321 /checksum/MD5/reset/133 902s ok 322 /checksum/MD5/reset/134 902s ok 323 /checksum/MD5/reset/135 902s ok 324 /checksum/MD5/reset/136 902s ok 325 /checksum/MD5/reset/137 902s ok 326 /checksum/MD5/reset/138 902s ok 327 /checksum/MD5/reset/139 902s ok 328 /checksum/MD5/reset/140 902s ok 329 /checksum/MD5/reset/141 902s ok 330 /checksum/MD5/reset/142 902s ok 331 /checksum/MD5/reset/143 902s ok 332 /checksum/MD5/reset/144 902s ok 333 /checksum/MD5/reset/145 902s ok 334 /checksum/MD5/reset/146 902s ok 335 /checksum/MD5/reset/147 902s ok 336 /checksum/MD5/reset/148 902s ok 337 /checksum/MD5/reset/149 902s ok 338 /checksum/MD5/reset/150 902s ok 339 /checksum/MD5/reset/151 902s ok 340 /checksum/MD5/reset/152 902s ok 341 /checksum/MD5/reset/153 902s ok 342 /checksum/MD5/reset/154 902s ok 343 /checksum/MD5/reset/155 902s ok 344 /checksum/MD5/reset/156 902s ok 345 /checksum/MD5/reset/157 902s ok 346 /checksum/MD5/reset/158 902s ok 347 /checksum/MD5/reset/159 902s ok 348 /checksum/MD5/reset/160 902s ok 349 /checksum/MD5/reset/161 902s ok 350 /checksum/MD5/reset/162 902s ok 351 /checksum/MD5/reset/163 902s ok 352 /checksum/MD5/reset/164 902s ok 353 /checksum/MD5/reset/165 902s ok 354 /checksum/MD5/reset/166 902s ok 355 /checksum/MD5/reset/167 902s ok 356 /checksum/MD5/reset/168 902s ok 357 /checksum/MD5/reset/169 902s ok 358 /checksum/MD5/reset/170 902s ok 359 /checksum/MD5/reset/171 902s ok 360 /checksum/MD5/reset/172 902s ok 361 /checksum/MD5/reset/173 902s ok 362 /checksum/MD5/reset/174 902s ok 363 /checksum/MD5/reset/175 902s ok 364 /checksum/MD5/reset/176 902s ok 365 /checksum/MD5/reset/177 902s ok 366 /checksum/MD5/reset/178 902s ok 367 /checksum/MD5/reset/179 902s ok 368 /checksum/MD5/reset/180 902s ok 369 /checksum/MD5/reset/181 902s ok 370 /checksum/MD5/reset/182 902s ok 371 /checksum/MD5/reset/183 902s # End of reset tests 902s # End of MD5 tests 902s # Start of SHA1 tests 902s ok 372 /checksum/SHA1/0 902s ok 373 /checksum/SHA1/1 902s ok 374 /checksum/SHA1/2 902s ok 375 /checksum/SHA1/3 902s ok 376 /checksum/SHA1/4 902s ok 377 /checksum/SHA1/5 902s ok 378 /checksum/SHA1/6 902s ok 379 /checksum/SHA1/7 902s ok 380 /checksum/SHA1/8 902s ok 381 /checksum/SHA1/9 902s ok 382 /checksum/SHA1/10 902s ok 383 /checksum/SHA1/11 902s ok 384 /checksum/SHA1/12 902s ok 385 /checksum/SHA1/13 902s ok 386 /checksum/SHA1/14 902s ok 387 /checksum/SHA1/15 902s ok 388 /checksum/SHA1/16 902s ok 389 /checksum/SHA1/17 902s ok 390 /checksum/SHA1/18 902s ok 391 /checksum/SHA1/19 902s ok 392 /checksum/SHA1/20 902s ok 393 /checksum/SHA1/21 902s ok 394 /checksum/SHA1/22 902s ok 395 /checksum/SHA1/23 902s ok 396 /checksum/SHA1/24 902s ok 397 /checksum/SHA1/25 902s ok 398 /checksum/SHA1/26 902s ok 399 /checksum/SHA1/27 902s ok 400 /checksum/SHA1/28 902s ok 401 /checksum/SHA1/29 902s ok 402 /checksum/SHA1/30 902s ok 403 /checksum/SHA1/31 902s ok 404 /checksum/SHA1/32 902s ok 405 /checksum/SHA1/33 902s ok 406 /checksum/SHA1/34 902s ok 407 /checksum/SHA1/35 902s ok 408 /checksum/SHA1/36 902s ok 409 /checksum/SHA1/37 902s ok 410 /checksum/SHA1/38 902s ok 411 /checksum/SHA1/39 902s ok 412 /checksum/SHA1/40 902s ok 413 /checksum/SHA1/41 902s ok 414 /checksum/SHA1/42 902s ok 415 /checksum/SHA1/43 902s ok 416 /checksum/SHA1/44 902s ok 417 /checksum/SHA1/45 902s ok 418 /checksum/SHA1/46 902s ok 419 /checksum/SHA1/47 902s ok 420 /checksum/SHA1/48 902s ok 421 /checksum/SHA1/49 902s ok 422 /checksum/SHA1/50 902s ok 423 /checksum/SHA1/51 902s ok 424 /checksum/SHA1/52 902s ok 425 /checksum/SHA1/53 902s ok 426 /checksum/SHA1/54 902s ok 427 /checksum/SHA1/55 902s ok 428 /checksum/SHA1/56 902s ok 429 /checksum/SHA1/57 902s ok 430 /checksum/SHA1/58 902s ok 431 /checksum/SHA1/59 902s ok 432 /checksum/SHA1/60 902s ok 433 /checksum/SHA1/61 902s ok 434 /checksum/SHA1/62 902s ok 435 /checksum/SHA1/63 902s ok 436 /checksum/SHA1/64 902s ok 437 /checksum/SHA1/65 902s ok 438 /checksum/SHA1/66 902s ok 439 /checksum/SHA1/67 902s ok 440 /checksum/SHA1/68 902s ok 441 /checksum/SHA1/69 902s ok 442 /checksum/SHA1/70 902s ok 443 /checksum/SHA1/71 902s ok 444 /checksum/SHA1/72 902s ok 445 /checksum/SHA1/73 902s ok 446 /checksum/SHA1/74 902s ok 447 /checksum/SHA1/75 902s ok 448 /checksum/SHA1/76 902s ok 449 /checksum/SHA1/77 902s ok 450 /checksum/SHA1/78 902s ok 451 /checksum/SHA1/79 902s ok 452 /checksum/SHA1/80 902s ok 453 /checksum/SHA1/81 902s ok 454 /checksum/SHA1/82 902s ok 455 /checksum/SHA1/83 902s ok 456 /checksum/SHA1/84 902s ok 457 /checksum/SHA1/85 902s ok 458 /checksum/SHA1/86 902s ok 459 /checksum/SHA1/87 902s ok 460 /checksum/SHA1/88 902s ok 461 /checksum/SHA1/89 902s ok 462 /checksum/SHA1/90 902s ok 463 /checksum/SHA1/91 902s ok 464 /checksum/SHA1/92 902s ok 465 /checksum/SHA1/93 902s ok 466 /checksum/SHA1/94 902s ok 467 /checksum/SHA1/95 902s ok 468 /checksum/SHA1/96 902s ok 469 /checksum/SHA1/97 902s ok 470 /checksum/SHA1/98 902s ok 471 /checksum/SHA1/99 902s ok 472 /checksum/SHA1/100 902s ok 473 /checksum/SHA1/101 902s ok 474 /checksum/SHA1/102 902s ok 475 /checksum/SHA1/103 902s ok 476 /checksum/SHA1/104 902s ok 477 /checksum/SHA1/105 902s ok 478 /checksum/SHA1/106 902s ok 479 /checksum/SHA1/107 902s ok 480 /checksum/SHA1/108 902s ok 481 /checksum/SHA1/109 902s ok 482 /checksum/SHA1/110 902s ok 483 /checksum/SHA1/111 902s ok 484 /checksum/SHA1/112 902s ok 485 /checksum/SHA1/113 902s ok 486 /checksum/SHA1/114 902s ok 487 /checksum/SHA1/115 902s ok 488 /checksum/SHA1/116 902s ok 489 /checksum/SHA1/117 902s ok 490 /checksum/SHA1/118 902s ok 491 /checksum/SHA1/119 902s ok 492 /checksum/SHA1/120 902s ok 493 /checksum/SHA1/121 902s ok 494 /checksum/SHA1/122 902s ok 495 /checksum/SHA1/123 902s ok 496 /checksum/SHA1/124 902s ok 497 /checksum/SHA1/125 902s ok 498 /checksum/SHA1/126 902s ok 499 /checksum/SHA1/127 902s ok 500 /checksum/SHA1/128 902s ok 501 /checksum/SHA1/129 902s ok 502 /checksum/SHA1/130 902s ok 503 /checksum/SHA1/131 902s ok 504 /checksum/SHA1/132 902s ok 505 /checksum/SHA1/133 902s ok 506 /checksum/SHA1/134 902s ok 507 /checksum/SHA1/135 902s ok 508 /checksum/SHA1/136 902s ok 509 /checksum/SHA1/137 902s ok 510 /checksum/SHA1/138 902s ok 511 /checksum/SHA1/139 902s ok 512 /checksum/SHA1/140 902s ok 513 /checksum/SHA1/141 902s ok 514 /checksum/SHA1/142 902s ok 515 /checksum/SHA1/143 902s ok 516 /checksum/SHA1/144 902s ok 517 /checksum/SHA1/145 902s ok 518 /checksum/SHA1/146 902s ok 519 /checksum/SHA1/147 902s ok 520 /checksum/SHA1/148 902s ok 521 /checksum/SHA1/149 902s ok 522 /checksum/SHA1/150 902s ok 523 /checksum/SHA1/151 902s ok 524 /checksum/SHA1/152 902s ok 525 /checksum/SHA1/153 902s ok 526 /checksum/SHA1/154 902s ok 527 /checksum/SHA1/155 902s ok 528 /checksum/SHA1/156 902s ok 529 /checksum/SHA1/157 902s ok 530 /checksum/SHA1/158 902s ok 531 /checksum/SHA1/159 902s ok 532 /checksum/SHA1/160 902s ok 533 /checksum/SHA1/161 902s ok 534 /checksum/SHA1/162 902s ok 535 /checksum/SHA1/163 902s ok 536 /checksum/SHA1/164 902s ok 537 /checksum/SHA1/165 902s ok 538 /checksum/SHA1/166 902s ok 539 /checksum/SHA1/167 902s ok 540 /checksum/SHA1/168 902s ok 541 /checksum/SHA1/169 902s ok 542 /checksum/SHA1/170 902s ok 543 /checksum/SHA1/171 902s ok 544 /checksum/SHA1/172 902s ok 545 /checksum/SHA1/173 902s ok 546 /checksum/SHA1/174 902s ok 547 /checksum/SHA1/175 902s ok 548 /checksum/SHA1/176 902s ok 549 /checksum/SHA1/177 902s ok 550 /checksum/SHA1/178 902s ok 551 /checksum/SHA1/179 902s ok 552 /checksum/SHA1/180 902s ok 553 /checksum/SHA1/181 902s ok 554 /checksum/SHA1/182 902s ok 555 /checksum/SHA1/183 902s ok 556 /checksum/SHA1/string 902s ok 557 /checksum/SHA1/bytes 902s # Start of reset tests 902s ok 558 /checksum/SHA1/reset/0 902s ok 559 /checksum/SHA1/reset/1 902s ok 560 /checksum/SHA1/reset/2 902s ok 561 /checksum/SHA1/reset/3 902s ok 562 /checksum/SHA1/reset/4 902s ok 563 /checksum/SHA1/reset/5 902s ok 564 /checksum/SHA1/reset/6 902s ok 565 /checksum/SHA1/reset/7 902s ok 566 /checksum/SHA1/reset/8 902s ok 567 /checksum/SHA1/reset/9 902s ok 568 /checksum/SHA1/reset/10 902s ok 569 /checksum/SHA1/reset/11 902s ok 570 /checksum/SHA1/reset/12 902s ok 571 /checksum/SHA1/reset/13 902s ok 572 /checksum/SHA1/reset/14 902s ok 573 /checksum/SHA1/reset/15 902s ok 574 /checksum/SHA1/reset/16 902s ok 575 /checksum/SHA1/reset/17 902s ok 576 /checksum/SHA1/reset/18 902s ok 577 /checksum/SHA1/reset/19 902s ok 578 /checksum/SHA1/reset/20 902s ok 579 /checksum/SHA1/reset/21 902s ok 580 /checksum/SHA1/reset/22 902s ok 581 /checksum/SHA1/reset/23 902s ok 582 /checksum/SHA1/reset/24 902s ok 583 /checksum/SHA1/reset/25 902s ok 584 /checksum/SHA1/reset/26 902s ok 585 /checksum/SHA1/reset/27 902s ok 586 /checksum/SHA1/reset/28 902s ok 587 /checksum/SHA1/reset/29 902s ok 588 /checksum/SHA1/reset/30 902s ok 589 /checksum/SHA1/reset/31 902s ok 590 /checksum/SHA1/reset/32 902s ok 591 /checksum/SHA1/reset/33 902s ok 592 /checksum/SHA1/reset/34 902s ok 593 /checksum/SHA1/reset/35 902s ok 594 /checksum/SHA1/reset/36 902s ok 595 /checksum/SHA1/reset/37 902s ok 596 /checksum/SHA1/reset/38 902s ok 597 /checksum/SHA1/reset/39 902s ok 598 /checksum/SHA1/reset/40 902s ok 599 /checksum/SHA1/reset/41 902s ok 600 /checksum/SHA1/reset/42 902s ok 601 /checksum/SHA1/reset/43 902s ok 602 /checksum/SHA1/reset/44 902s ok 603 /checksum/SHA1/reset/45 902s ok 604 /checksum/SHA1/reset/46 902s ok 605 /checksum/SHA1/reset/47 902s ok 606 /checksum/SHA1/reset/48 902s ok 607 /checksum/SHA1/reset/49 902s ok 608 /checksum/SHA1/reset/50 902s ok 609 /checksum/SHA1/reset/51 902s ok 610 /checksum/SHA1/reset/52 902s ok 611 /checksum/SHA1/reset/53 902s ok 612 /checksum/SHA1/reset/54 902s ok 613 /checksum/SHA1/reset/55 902s ok 614 /checksum/SHA1/reset/56 902s ok 615 /checksum/SHA1/reset/57 902s ok 616 /checksum/SHA1/reset/58 902s ok 617 /checksum/SHA1/reset/59 902s ok 618 /checksum/SHA1/reset/60 902s ok 619 /checksum/SHA1/reset/61 902s ok 620 /checksum/SHA1/reset/62 902s ok 621 /checksum/SHA1/reset/63 902s ok 622 /checksum/SHA1/reset/64 902s ok 623 /checksum/SHA1/reset/65 902s ok 624 /checksum/SHA1/reset/66 902s ok 625 /checksum/SHA1/reset/67 902s ok 626 /checksum/SHA1/reset/68 902s ok 627 /checksum/SHA1/reset/69 902s ok 628 /checksum/SHA1/reset/70 902s ok 629 /checksum/SHA1/reset/71 902s ok 630 /checksum/SHA1/reset/72 902s ok 631 /checksum/SHA1/reset/73 902s ok 632 /checksum/SHA1/reset/74 902s ok 633 /checksum/SHA1/reset/75 902s ok 634 /checksum/SHA1/reset/76 902s ok 635 /checksum/SHA1/reset/77 902s ok 636 /checksum/SHA1/reset/78 902s ok 637 /checksum/SHA1/reset/79 902s ok 638 /checksum/SHA1/reset/80 902s ok 639 /checksum/SHA1/reset/81 902s ok 640 /checksum/SHA1/reset/82 902s ok 641 /checksum/SHA1/reset/83 902s ok 642 /checksum/SHA1/reset/84 902s ok 643 /checksum/SHA1/reset/85 902s ok 644 /checksum/SHA1/reset/86 902s ok 645 /checksum/SHA1/reset/87 902s ok 646 /checksum/SHA1/reset/88 902s ok 647 /checksum/SHA1/reset/89 902s ok 648 /checksum/SHA1/reset/90 902s ok 649 /checksum/SHA1/reset/91 902s ok 650 /checksum/SHA1/reset/92 902s ok 651 /checksum/SHA1/reset/93 902s ok 652 /checksum/SHA1/reset/94 902s ok 653 /checksum/SHA1/reset/95 902s ok 654 /checksum/SHA1/reset/96 902s ok 655 /checksum/SHA1/reset/97 902s ok 656 /checksum/SHA1/reset/98 902s ok 657 /checksum/SHA1/reset/99 902s ok 658 /checksum/SHA1/reset/100 902s ok 659 /checksum/SHA1/reset/101 902s ok 660 /checksum/SHA1/reset/102 902s ok 661 /checksum/SHA1/reset/103 902s ok 662 /checksum/SHA1/reset/104 902s ok 663 /checksum/SHA1/reset/105 902s ok 664 /checksum/SHA1/reset/106 902s ok 665 /checksum/SHA1/reset/107 902s ok 666 /checksum/SHA1/reset/108 902s ok 667 /checksum/SHA1/reset/109 902s ok 668 /checksum/SHA1/reset/110 902s ok 669 /checksum/SHA1/reset/111 902s ok 670 /checksum/SHA1/reset/112 902s ok 671 /checksum/SHA1/reset/113 902s ok 672 /checksum/SHA1/reset/114 902s ok 673 /checksum/SHA1/reset/115 902s ok 674 /checksum/SHA1/reset/116 902s ok 675 /checksum/SHA1/reset/117 902s ok 676 /checksum/SHA1/reset/118 902s ok 677 /checksum/SHA1/reset/119 902s ok 678 /checksum/SHA1/reset/120 902s ok 679 /checksum/SHA1/reset/121 902s ok 680 /checksum/SHA1/reset/122 902s ok 681 /checksum/SHA1/reset/123 902s ok 682 /checksum/SHA1/reset/124 902s ok 683 /checksum/SHA1/reset/125 902s ok 684 /checksum/SHA1/reset/126 902s ok 685 /checksum/SHA1/reset/127 902s ok 686 /checksum/SHA1/reset/128 902s ok 687 /checksum/SHA1/reset/129 902s ok 688 /checksum/SHA1/reset/130 902s ok 689 /checksum/SHA1/reset/131 902s ok 690 /checksum/SHA1/reset/132 902s ok 691 /checksum/SHA1/reset/133 902s ok 692 /checksum/SHA1/reset/134 902s ok 693 /checksum/SHA1/reset/135 902s ok 694 /checksum/SHA1/reset/136 902s ok 695 /checksum/SHA1/reset/137 902s ok 696 /checksum/SHA1/reset/138 902s ok 697 /checksum/SHA1/reset/139 902s ok 698 /checksum/SHA1/reset/140 902s ok 699 /checksum/SHA1/reset/141 902s ok 700 /checksum/SHA1/reset/142 902s ok 701 /checksum/SHA1/reset/143 902s ok 702 /checksum/SHA1/reset/144 902s ok 703 /checksum/SHA1/reset/145 902s ok 704 /checksum/SHA1/reset/146 902s ok 705 /checksum/SHA1/reset/147 902s ok 706 /checksum/SHA1/reset/148 902s ok 707 /checksum/SHA1/reset/149 902s ok 708 /checksum/SHA1/reset/150 902s ok 709 /checksum/SHA1/reset/151 902s ok 710 /checksum/SHA1/reset/152 902s ok 711 /checksum/SHA1/reset/153 902s ok 712 /checksum/SHA1/reset/154 902s ok 713 /checksum/SHA1/reset/155 902s ok 714 /checksum/SHA1/reset/156 902s ok 715 /checksum/SHA1/reset/157 902s ok 716 /checksum/SHA1/reset/158 902s ok 717 /checksum/SHA1/reset/159 902s ok 718 /checksum/SHA1/reset/160 902s ok 719 /checksum/SHA1/reset/161 902s ok 720 /checksum/SHA1/reset/162 902s ok 721 /checksum/SHA1/reset/163 902s ok 722 /checksum/SHA1/reset/164 902s ok 723 /checksum/SHA1/reset/165 902s ok 724 /checksum/SHA1/reset/166 902s ok 725 /checksum/SHA1/reset/167 902s ok 726 /checksum/SHA1/reset/168 902s ok 727 /checksum/SHA1/reset/169 902s ok 728 /checksum/SHA1/reset/170 902s ok 729 /checksum/SHA1/reset/171 902s ok 730 /checksum/SHA1/reset/172 902s ok 731 /checksum/SHA1/reset/173 902s ok 732 /checksum/SHA1/reset/174 902s ok 733 /checksum/SHA1/reset/175 902s ok 734 /checksum/SHA1/reset/176 902s ok 735 /checksum/SHA1/reset/177 902s ok 736 /checksum/SHA1/reset/178 902s ok 737 /checksum/SHA1/reset/179 902s ok 738 /checksum/SHA1/reset/180 902s ok 739 /checksum/SHA1/reset/181 902s ok 740 /checksum/SHA1/reset/182 902s ok 741 /checksum/SHA1/reset/183 902s # End of reset tests 902s # End of SHA1 tests 902s # Start of SHA256 tests 902s ok 742 /checksum/SHA256/0 902s ok 743 /checksum/SHA256/1 902s ok 744 /checksum/SHA256/2 902s ok 745 /checksum/SHA256/3 902s ok 746 /checksum/SHA256/4 902s ok 747 /checksum/SHA256/5 902s ok 748 /checksum/SHA256/6 902s ok 749 /checksum/SHA256/7 902s ok 750 /checksum/SHA256/8 902s ok 751 /checksum/SHA256/9 902s ok 752 /checksum/SHA256/10 902s ok 753 /checksum/SHA256/11 902s ok 754 /checksum/SHA256/12 902s ok 755 /checksum/SHA256/13 902s ok 756 /checksum/SHA256/14 902s ok 757 /checksum/SHA256/15 902s ok 758 /checksum/SHA256/16 902s ok 759 /checksum/SHA256/17 902s ok 760 /checksum/SHA256/18 902s ok 761 /checksum/SHA256/19 902s ok 762 /checksum/SHA256/20 902s ok 763 /checksum/SHA256/21 902s ok 764 /checksum/SHA256/22 902s ok 765 /checksum/SHA256/23 902s ok 766 /checksum/SHA256/24 902s ok 767 /checksum/SHA256/25 902s ok 768 /checksum/SHA256/26 902s ok 769 /checksum/SHA256/27 902s ok 770 /checksum/SHA256/28 902s ok 771 /checksum/SHA256/29 902s ok 772 /checksum/SHA256/30 902s ok 773 /checksum/SHA256/31 902s ok 774 /checksum/SHA256/32 902s ok 775 /checksum/SHA256/33 902s ok 776 /checksum/SHA256/34 902s ok 777 /checksum/SHA256/35 902s ok 778 /checksum/SHA256/36 902s ok 779 /checksum/SHA256/37 902s ok 780 /checksum/SHA256/38 902s ok 781 /checksum/SHA256/39 902s ok 782 /checksum/SHA256/40 902s ok 783 /checksum/SHA256/41 902s ok 784 /checksum/SHA256/42 902s ok 785 /checksum/SHA256/43 902s ok 786 /checksum/SHA256/44 902s ok 787 /checksum/SHA256/45 902s ok 788 /checksum/SHA256/46 902s ok 789 /checksum/SHA256/47 902s ok 790 /checksum/SHA256/48 902s ok 791 /checksum/SHA256/49 902s ok 792 /checksum/SHA256/50 902s ok 793 /checksum/SHA256/51 902s ok 794 /checksum/SHA256/52 902s ok 795 /checksum/SHA256/53 902s ok 796 /checksum/SHA256/54 902s ok 797 /checksum/SHA256/55 902s ok 798 /checksum/SHA256/56 902s ok 799 /checksum/SHA256/57 902s ok 800 /checksum/SHA256/58 902s ok 801 /checksum/SHA256/59 902s ok 802 /checksum/SHA256/60 902s ok 803 /checksum/SHA256/61 902s ok 804 /checksum/SHA256/62 902s ok 805 /checksum/SHA256/63 902s ok 806 /checksum/SHA256/64 902s ok 807 /checksum/SHA256/65 902s ok 808 /checksum/SHA256/66 902s ok 809 /checksum/SHA256/67 902s ok 810 /checksum/SHA256/68 902s ok 811 /checksum/SHA256/69 902s ok 812 /checksum/SHA256/70 902s ok 813 /checksum/SHA256/71 902s ok 814 /checksum/SHA256/72 902s ok 815 /checksum/SHA256/73 902s ok 816 /checksum/SHA256/74 902s ok 817 /checksum/SHA256/75 902s ok 818 /checksum/SHA256/76 902s ok 819 /checksum/SHA256/77 902s ok 820 /checksum/SHA256/78 902s ok 821 /checksum/SHA256/79 902s ok 822 /checksum/SHA256/80 902s ok 823 /checksum/SHA256/81 902s ok 824 /checksum/SHA256/82 902s ok 825 /checksum/SHA256/83 902s ok 826 /checksum/SHA256/84 902s ok 827 /checksum/SHA256/85 902s ok 828 /checksum/SHA256/86 902s ok 829 /checksum/SHA256/87 902s ok 830 /checksum/SHA256/88 902s ok 831 /checksum/SHA256/89 902s ok 832 /checksum/SHA256/90 902s ok 833 /checksum/SHA256/91 902s ok 834 /checksum/SHA256/92 902s ok 835 /checksum/SHA256/93 902s ok 836 /checksum/SHA256/94 902s ok 837 /checksum/SHA256/95 902s ok 838 /checksum/SHA256/96 902s ok 839 /checksum/SHA256/97 902s ok 840 /checksum/SHA256/98 902s ok 841 /checksum/SHA256/99 902s ok 842 /checksum/SHA256/100 902s ok 843 /checksum/SHA256/101 902s ok 844 /checksum/SHA256/102 902s ok 845 /checksum/SHA256/103 902s ok 846 /checksum/SHA256/104 902s ok 847 /checksum/SHA256/105 902s ok 848 /checksum/SHA256/106 902s ok 849 /checksum/SHA256/107 902s ok 850 /checksum/SHA256/108 902s ok 851 /checksum/SHA256/109 902s ok 852 /checksum/SHA256/110 902s ok 853 /checksum/SHA256/111 902s ok 854 /checksum/SHA256/112 902s ok 855 /checksum/SHA256/113 902s ok 856 /checksum/SHA256/114 902s ok 857 /checksum/SHA256/115 902s ok 858 /checksum/SHA256/116 902s ok 859 /checksum/SHA256/117 902s ok 860 /checksum/SHA256/118 902s ok 861 /checksum/SHA256/119 902s ok 862 /checksum/SHA256/120 902s ok 863 /checksum/SHA256/121 902s ok 864 /checksum/SHA256/122 902s ok 865 /checksum/SHA256/123 902s ok 866 /checksum/SHA256/124 902s ok 867 /checksum/SHA256/125 902s ok 868 /checksum/SHA256/126 902s ok 869 /checksum/SHA256/127 902s ok 870 /checksum/SHA256/128 902s ok 871 /checksum/SHA256/129 902s ok 872 /checksum/SHA256/130 902s ok 873 /checksum/SHA256/131 902s ok 874 /checksum/SHA256/132 902s ok 875 /checksum/SHA256/133 902s ok 876 /checksum/SHA256/134 902s ok 877 /checksum/SHA256/135 902s ok 878 /checksum/SHA256/136 902s ok 879 /checksum/SHA256/137 902s ok 880 /checksum/SHA256/138 902s ok 881 /checksum/SHA256/139 902s ok 882 /checksum/SHA256/140 902s ok 883 /checksum/SHA256/141 902s ok 884 /checksum/SHA256/142 902s ok 885 /checksum/SHA256/143 902s ok 886 /checksum/SHA256/144 902s ok 887 /checksum/SHA256/145 902s ok 888 /checksum/SHA256/146 902s ok 889 /checksum/SHA256/147 902s ok 890 /checksum/SHA256/148 902s ok 891 /checksum/SHA256/149 902s ok 892 /checksum/SHA256/150 902s ok 893 /checksum/SHA256/151 902s ok 894 /checksum/SHA256/152 902s ok 895 /checksum/SHA256/153 902s ok 896 /checksum/SHA256/154 902s ok 897 /checksum/SHA256/155 902s ok 898 /checksum/SHA256/156 902s ok 899 /checksum/SHA256/157 902s ok 900 /checksum/SHA256/158 902s ok 901 /checksum/SHA256/159 902s ok 902 /checksum/SHA256/160 902s ok 903 /checksum/SHA256/161 902s ok 904 /checksum/SHA256/162 902s ok 905 /checksum/SHA256/163 902s ok 906 /checksum/SHA256/164 902s ok 907 /checksum/SHA256/165 902s ok 908 /checksum/SHA256/166 902s ok 909 /checksum/SHA256/167 902s ok 910 /checksum/SHA256/168 902s ok 911 /checksum/SHA256/169 902s ok 912 /checksum/SHA256/170 902s ok 913 /checksum/SHA256/171 902s ok 914 /checksum/SHA256/172 902s ok 915 /checksum/SHA256/173 902s ok 916 /checksum/SHA256/174 902s ok 917 /checksum/SHA256/175 902s ok 918 /checksum/SHA256/176 902s ok 919 /checksum/SHA256/177 902s ok 920 /checksum/SHA256/178 902s ok 921 /checksum/SHA256/179 902s ok 922 /checksum/SHA256/180 902s ok 923 /checksum/SHA256/181 902s ok 924 /checksum/SHA256/182 902s ok 925 /checksum/SHA256/183 902s ok 926 /checksum/SHA256/string 902s ok 927 /checksum/SHA256/bytes 902s # Start of reset tests 902s ok 928 /checksum/SHA256/reset/0 902s ok 929 /checksum/SHA256/reset/1 902s ok 930 /checksum/SHA256/reset/2 902s ok 931 /checksum/SHA256/reset/3 902s ok 932 /checksum/SHA256/reset/4 902s ok 933 /checksum/SHA256/reset/5 902s ok 934 /checksum/SHA256/reset/6 902s ok 935 /checksum/SHA256/reset/7 902s ok 936 /checksum/SHA256/reset/8 902s ok 937 /checksum/SHA256/reset/9 902s ok 938 /checksum/SHA256/reset/10 902s ok 939 /checksum/SHA256/reset/11 902s ok 940 /checksum/SHA256/reset/12 902s ok 941 /checksum/SHA256/reset/13 902s ok 942 /checksum/SHA256/reset/14 902s ok 943 /checksum/SHA256/reset/15 902s ok 944 /checksum/SHA256/reset/16 902s ok 945 /checksum/SHA256/reset/17 902s ok 946 /checksum/SHA256/reset/18 902s ok 947 /checksum/SHA256/reset/19 902s ok 948 /checksum/SHA256/reset/20 902s ok 949 /checksum/SHA256/reset/21 902s ok 950 /checksum/SHA256/reset/22 902s ok 951 /checksum/SHA256/reset/23 902s ok 952 /checksum/SHA256/reset/24 902s ok 953 /checksum/SHA256/reset/25 902s ok 954 /checksum/SHA256/reset/26 902s ok 955 /checksum/SHA256/reset/27 902s ok 956 /checksum/SHA256/reset/28 902s ok 957 /checksum/SHA256/reset/29 902s ok 958 /checksum/SHA256/reset/30 902s ok 959 /checksum/SHA256/reset/31 902s ok 960 /checksum/SHA256/reset/32 902s ok 961 /checksum/SHA256/reset/33 902s ok 962 /checksum/SHA256/reset/34 902s ok 963 /checksum/SHA256/reset/35 902s ok 964 /checksum/SHA256/reset/36 902s ok 965 /checksum/SHA256/reset/37 902s ok 966 /checksum/SHA256/reset/38 902s ok 967 /checksum/SHA256/reset/39 902s ok 968 /checksum/SHA256/reset/40 902s ok 969 /checksum/SHA256/reset/41 902s ok 970 /checksum/SHA256/reset/42 902s ok 971 /checksum/SHA256/reset/43 902s ok 972 /checksum/SHA256/reset/44 902s ok 973 /checksum/SHA256/reset/45 902s ok 974 /checksum/SHA256/reset/46 902s ok 975 /checksum/SHA256/reset/47 902s ok 976 /checksum/SHA256/reset/48 902s ok 977 /checksum/SHA256/reset/49 902s ok 978 /checksum/SHA256/reset/50 902s ok 979 /checksum/SHA256/reset/51 902s ok 980 /checksum/SHA256/reset/52 902s ok 981 /checksum/SHA256/reset/53 902s ok 982 /checksum/SHA256/reset/54 902s ok 983 /checksum/SHA256/reset/55 902s ok 984 /checksum/SHA256/reset/56 902s ok 985 /checksum/SHA256/reset/57 902s ok 986 /checksum/SHA256/reset/58 902s ok 987 /checksum/SHA256/reset/59 902s ok 988 /checksum/SHA256/reset/60 902s ok 989 /checksum/SHA256/reset/61 902s ok 990 /checksum/SHA256/reset/62 902s ok 991 /checksum/SHA256/reset/63 902s ok 992 /checksum/SHA256/reset/64 902s ok 993 /checksum/SHA256/reset/65 902s ok 994 /checksum/SHA256/reset/66 902s ok 995 /checksum/SHA256/reset/67 902s ok 996 /checksum/SHA256/reset/68 902s ok 997 /checksum/SHA256/reset/69 902s ok 998 /checksum/SHA256/reset/70 902s ok 999 /checksum/SHA256/reset/71 902s ok 1000 /checksum/SHA256/reset/72 902s ok 1001 /checksum/SHA256/reset/73 902s ok 1002 /checksum/SHA256/reset/74 902s ok 1003 /checksum/SHA256/reset/75 902s ok 1004 /checksum/SHA256/reset/76 902s ok 1005 /checksum/SHA256/reset/77 902s ok 1006 /checksum/SHA256/reset/78 902s ok 1007 /checksum/SHA256/reset/79 902s ok 1008 /checksum/SHA256/reset/80 902s ok 1009 /checksum/SHA256/reset/81 902s ok 1010 /checksum/SHA256/reset/82 902s ok 1011 /checksum/SHA256/reset/83 902s ok 1012 /checksum/SHA256/reset/84 902s ok 1013 /checksum/SHA256/reset/85 902s ok 1014 /checksum/SHA256/reset/86 902s ok 1015 /checksum/SHA256/reset/87 902s ok 1016 /checksum/SHA256/reset/88 902s ok 1017 /checksum/SHA256/reset/89 902s ok 1018 /checksum/SHA256/reset/90 902s ok 1019 /checksum/SHA256/reset/91 902s ok 1020 /checksum/SHA256/reset/92 902s ok 1021 /checksum/SHA256/reset/93 902s ok 1022 /checksum/SHA256/reset/94 902s ok 1023 /checksum/SHA256/reset/95 902s ok 1024 /checksum/SHA256/reset/96 902s ok 1025 /checksum/SHA256/reset/97 902s ok 1026 /checksum/SHA256/reset/98 902s ok 1027 /checksum/SHA256/reset/99 902s ok 1028 /checksum/SHA256/reset/100 902s ok 1029 /checksum/SHA256/reset/101 902s ok 1030 /checksum/SHA256/reset/102 902s ok 1031 /checksum/SHA256/reset/103 902s ok 1032 /checksum/SHA256/reset/104 902s ok 1033 /checksum/SHA256/reset/105 902s ok 1034 /checksum/SHA256/reset/106 902s ok 1035 /checksum/SHA256/reset/107 902s ok 1036 /checksum/SHA256/reset/108 902s ok 1037 /checksum/SHA256/reset/109 902s ok 1038 /checksum/SHA256/reset/110 902s ok 1039 /checksum/SHA256/reset/111 902s ok 1040 /checksum/SHA256/reset/112 902s ok 1041 /checksum/SHA256/reset/113 902s ok 1042 /checksum/SHA256/reset/114 902s ok 1043 /checksum/SHA256/reset/115 902s ok 1044 /checksum/SHA256/reset/116 902s ok 1045 /checksum/SHA256/reset/117 902s ok 1046 /checksum/SHA256/reset/118 902s ok 1047 /checksum/SHA256/reset/119 902s ok 1048 /checksum/SHA256/reset/120 902s ok 1049 /checksum/SHA256/reset/121 902s ok 1050 /checksum/SHA256/reset/122 902s ok 1051 /checksum/SHA256/reset/123 902s ok 1052 /checksum/SHA256/reset/124 902s ok 1053 /checksum/SHA256/reset/125 902s ok 1054 /checksum/SHA256/reset/126 902s ok 1055 /checksum/SHA256/reset/127 902s ok 1056 /checksum/SHA256/reset/128 902s ok 1057 /checksum/SHA256/reset/129 902s ok 1058 /checksum/SHA256/reset/130 902s ok 1059 /checksum/SHA256/reset/131 902s ok 1060 /checksum/SHA256/reset/132 902s ok 1061 /checksum/SHA256/reset/133 902s ok 1062 /checksum/SHA256/reset/134 902s ok 1063 /checksum/SHA256/reset/135 902s ok 1064 /checksum/SHA256/reset/136 902s ok 1065 /checksum/SHA256/reset/137 902s ok 1066 /checksum/SHA256/reset/138 902s ok 1067 /checksum/SHA256/reset/139 902s ok 1068 /checksum/SHA256/reset/140 902s ok 1069 /checksum/SHA256/reset/141 902s ok 1070 /checksum/SHA256/reset/142 902s ok 1071 /checksum/SHA256/reset/143 902s ok 1072 /checksum/SHA256/reset/144 902s ok 1073 /checksum/SHA256/reset/145 902s ok 1074 /checksum/SHA256/reset/146 902s ok 1075 /checksum/SHA256/reset/147 902s ok 1076 /checksum/SHA256/reset/148 902s ok 1077 /checksum/SHA256/reset/149 902s ok 1078 /checksum/SHA256/reset/150 902s ok 1079 /checksum/SHA256/reset/151 902s ok 1080 /checksum/SHA256/reset/152 902s ok 1081 /checksum/SHA256/reset/153 902s ok 1082 /checksum/SHA256/reset/154 902s ok 1083 /checksum/SHA256/reset/155 902s ok 1084 /checksum/SHA256/reset/156 902s ok 1085 /checksum/SHA256/reset/157 902s ok 1086 /checksum/SHA256/reset/158 902s ok 1087 /checksum/SHA256/reset/159 902s ok 1088 /checksum/SHA256/reset/160 902s ok 1089 /checksum/SHA256/reset/161 902s ok 1090 /checksum/SHA256/reset/162 902s ok 1091 /checksum/SHA256/reset/163 902s ok 1092 /checksum/SHA256/reset/164 902s ok 1093 /checksum/SHA256/reset/165 902s ok 1094 /checksum/SHA256/reset/166 902s ok 1095 /checksum/SHA256/reset/167 902s ok 1096 /checksum/SHA256/reset/168 902s ok 1097 /checksum/SHA256/reset/169 902s ok 1098 /checksum/SHA256/reset/170 902s ok 1099 /checksum/SHA256/reset/171 902s ok 1100 /checksum/SHA256/reset/172 902s ok 1101 /checksum/SHA256/reset/173 902s ok 1102 /checksum/SHA256/reset/174 902s ok 1103 /checksum/SHA256/reset/175 902s ok 1104 /checksum/SHA256/reset/176 902s ok 1105 /checksum/SHA256/reset/177 902s ok 1106 /checksum/SHA256/reset/178 902s ok 1107 /checksum/SHA256/reset/179 902s ok 1108 /checksum/SHA256/reset/180 902s ok 1109 /checksum/SHA256/reset/181 902s ok 1110 /checksum/SHA256/reset/182 902s ok 1111 /checksum/SHA256/reset/183 902s # End of reset tests 902s # End of SHA256 tests 902s # Start of SHA384 tests 902s ok 1112 /checksum/SHA384/0 902s ok 1113 /checksum/SHA384/1 902s ok 1114 /checksum/SHA384/2 902s ok 1115 /checksum/SHA384/3 902s ok 1116 /checksum/SHA384/4 902s ok 1117 /checksum/SHA384/5 902s ok 1118 /checksum/SHA384/6 902s ok 1119 /checksum/SHA384/7 902s ok 1120 /checksum/SHA384/8 902s ok 1121 /checksum/SHA384/9 902s ok 1122 /checksum/SHA384/10 902s ok 1123 /checksum/SHA384/11 902s ok 1124 /checksum/SHA384/12 902s ok 1125 /checksum/SHA384/13 902s ok 1126 /checksum/SHA384/14 902s ok 1127 /checksum/SHA384/15 902s ok 1128 /checksum/SHA384/16 902s ok 1129 /checksum/SHA384/17 902s ok 1130 /checksum/SHA384/18 902s ok 1131 /checksum/SHA384/19 902s ok 1132 /checksum/SHA384/20 902s ok 1133 /checksum/SHA384/21 902s ok 1134 /checksum/SHA384/22 902s ok 1135 /checksum/SHA384/23 902s ok 1136 /checksum/SHA384/24 902s ok 1137 /checksum/SHA384/25 902s ok 1138 /checksum/SHA384/26 902s ok 1139 /checksum/SHA384/27 902s ok 1140 /checksum/SHA384/28 902s ok 1141 /checksum/SHA384/29 902s ok 1142 /checksum/SHA384/30 902s ok 1143 /checksum/SHA384/31 902s ok 1144 /checksum/SHA384/32 902s ok 1145 /checksum/SHA384/33 902s ok 1146 /checksum/SHA384/34 902s ok 1147 /checksum/SHA384/35 902s ok 1148 /checksum/SHA384/36 902s ok 1149 /checksum/SHA384/37 902s ok 1150 /checksum/SHA384/38 902s ok 1151 /checksum/SHA384/39 902s ok 1152 /checksum/SHA384/40 902s ok 1153 /checksum/SHA384/41 902s ok 1154 /checksum/SHA384/42 902s ok 1155 /checksum/SHA384/43 902s ok 1156 /checksum/SHA384/44 902s ok 1157 /checksum/SHA384/45 902s ok 1158 /checksum/SHA384/46 902s ok 1159 /checksum/SHA384/47 902s ok 1160 /checksum/SHA384/48 902s ok 1161 /checksum/SHA384/49 902s ok 1162 /checksum/SHA384/50 902s ok 1163 /checksum/SHA384/51 902s ok 1164 /checksum/SHA384/52 902s ok 1165 /checksum/SHA384/53 902s ok 1166 /checksum/SHA384/54 902s ok 1167 /checksum/SHA384/55 902s ok 1168 /checksum/SHA384/56 902s ok 1169 /checksum/SHA384/57 902s ok 1170 /checksum/SHA384/58 902s ok 1171 /checksum/SHA384/59 902s ok 1172 /checksum/SHA384/60 902s ok 1173 /checksum/SHA384/61 902s ok 1174 /checksum/SHA384/62 902s ok 1175 /checksum/SHA384/63 902s ok 1176 /checksum/SHA384/64 902s ok 1177 /checksum/SHA384/65 902s ok 1178 /checksum/SHA384/66 902s ok 1179 /checksum/SHA384/67 902s ok 1180 /checksum/SHA384/68 902s ok 1181 /checksum/SHA384/69 902s ok 1182 /checksum/SHA384/70 902s ok 1183 /checksum/SHA384/71 902s ok 1184 /checksum/SHA384/72 902s ok 1185 /checksum/SHA384/73 902s ok 1186 /checksum/SHA384/74 902s ok 1187 /checksum/SHA384/75 902s ok 1188 /checksum/SHA384/76 902s ok 1189 /checksum/SHA384/77 902s ok 1190 /checksum/SHA384/78 902s ok 1191 /checksum/SHA384/79 902s ok 1192 /checksum/SHA384/80 902s ok 1193 /checksum/SHA384/81 902s ok 1194 /checksum/SHA384/82 902s ok 1195 /checksum/SHA384/83 902s ok 1196 /checksum/SHA384/84 902s ok 1197 /checksum/SHA384/85 902s ok 1198 /checksum/SHA384/86 902s ok 1199 /checksum/SHA384/87 902s ok 1200 /checksum/SHA384/88 902s ok 1201 /checksum/SHA384/89 902s ok 1202 /checksum/SHA384/90 902s ok 1203 /checksum/SHA384/91 902s ok 1204 /checksum/SHA384/92 902s ok 1205 /checksum/SHA384/93 902s ok 1206 /checksum/SHA384/94 902s ok 1207 /checksum/SHA384/95 902s ok 1208 /checksum/SHA384/96 902s ok 1209 /checksum/SHA384/97 902s ok 1210 /checksum/SHA384/98 902s ok 1211 /checksum/SHA384/99 902s ok 1212 /checksum/SHA384/100 902s ok 1213 /checksum/SHA384/101 902s ok 1214 /checksum/SHA384/102 902s ok 1215 /checksum/SHA384/103 902s ok 1216 /checksum/SHA384/104 902s ok 1217 /checksum/SHA384/105 902s ok 1218 /checksum/SHA384/106 902s ok 1219 /checksum/SHA384/107 902s ok 1220 /checksum/SHA384/108 902s ok 1221 /checksum/SHA384/109 902s ok 1222 /checksum/SHA384/110 902s ok 1223 /checksum/SHA384/111 902s ok 1224 /checksum/SHA384/112 902s ok 1225 /checksum/SHA384/113 902s ok 1226 /checksum/SHA384/114 902s ok 1227 /checksum/SHA384/115 902s ok 1228 /checksum/SHA384/116 902s ok 1229 /checksum/SHA384/117 902s ok 1230 /checksum/SHA384/118 902s ok 1231 /checksum/SHA384/119 902s ok 1232 /checksum/SHA384/120 902s ok 1233 /checksum/SHA384/121 902s ok 1234 /checksum/SHA384/122 902s ok 1235 /checksum/SHA384/123 902s ok 1236 /checksum/SHA384/124 902s ok 1237 /checksum/SHA384/125 902s ok 1238 /checksum/SHA384/126 902s ok 1239 /checksum/SHA384/127 902s ok 1240 /checksum/SHA384/128 902s ok 1241 /checksum/SHA384/129 902s ok 1242 /checksum/SHA384/130 902s ok 1243 /checksum/SHA384/131 902s ok 1244 /checksum/SHA384/132 902s ok 1245 /checksum/SHA384/133 902s ok 1246 /checksum/SHA384/134 902s ok 1247 /checksum/SHA384/135 902s ok 1248 /checksum/SHA384/136 902s ok 1249 /checksum/SHA384/137 902s ok 1250 /checksum/SHA384/138 902s ok 1251 /checksum/SHA384/139 902s ok 1252 /checksum/SHA384/140 902s ok 1253 /checksum/SHA384/141 902s ok 1254 /checksum/SHA384/142 902s ok 1255 /checksum/SHA384/143 902s ok 1256 /checksum/SHA384/144 902s ok 1257 /checksum/SHA384/145 902s ok 1258 /checksum/SHA384/146 902s ok 1259 /checksum/SHA384/147 902s ok 1260 /checksum/SHA384/148 902s ok 1261 /checksum/SHA384/149 902s ok 1262 /checksum/SHA384/150 902s ok 1263 /checksum/SHA384/151 902s ok 1264 /checksum/SHA384/152 902s ok 1265 /checksum/SHA384/153 902s ok 1266 /checksum/SHA384/154 902s ok 1267 /checksum/SHA384/155 902s ok 1268 /checksum/SHA384/156 902s ok 1269 /checksum/SHA384/157 902s ok 1270 /checksum/SHA384/158 902s ok 1271 /checksum/SHA384/159 902s ok 1272 /checksum/SHA384/160 902s ok 1273 /checksum/SHA384/161 902s ok 1274 /checksum/SHA384/162 902s ok 1275 /checksum/SHA384/163 902s ok 1276 /checksum/SHA384/164 902s ok 1277 /checksum/SHA384/165 902s ok 1278 /checksum/SHA384/166 902s ok 1279 /checksum/SHA384/167 902s ok 1280 /checksum/SHA384/168 902s ok 1281 /checksum/SHA384/169 902s ok 1282 /checksum/SHA384/170 902s ok 1283 /checksum/SHA384/171 902s ok 1284 /checksum/SHA384/172 902s ok 1285 /checksum/SHA384/173 902s ok 1286 /checksum/SHA384/174 902s ok 1287 /checksum/SHA384/175 902s ok 1288 /checksum/SHA384/176 902s ok 1289 /checksum/SHA384/177 902s ok 1290 /checksum/SHA384/178 902s ok 1291 /checksum/SHA384/179 902s ok 1292 /checksum/SHA384/180 902s ok 1293 /checksum/SHA384/181 902s ok 1294 /checksum/SHA384/182 902s ok 1295 /checksum/SHA384/183 902s ok 1296 /checksum/SHA384/string 902s ok 1297 /checksum/SHA384/bytes 902s # Start of reset tests 902s ok 1298 /checksum/SHA384/reset/0 902s ok 1299 /checksum/SHA384/reset/1 902s ok 1300 /checksum/SHA384/reset/2 902s ok 1301 /checksum/SHA384/reset/3 902s ok 1302 /checksum/SHA384/reset/4 902s ok 1303 /checksum/SHA384/reset/5 902s ok 1304 /checksum/SHA384/reset/6 902s ok 1305 /checksum/SHA384/reset/7 902s ok 1306 /checksum/SHA384/reset/8 902s ok 1307 /checksum/SHA384/reset/9 902s ok 1308 /checksum/SHA384/reset/10 902s ok 1309 /checksum/SHA384/reset/11 902s ok 1310 /checksum/SHA384/reset/12 902s ok 1311 /checksum/SHA384/reset/13 902s ok 1312 /checksum/SHA384/reset/14 902s ok 1313 /checksum/SHA384/reset/15 902s ok 1314 /checksum/SHA384/reset/16 902s ok 1315 /checksum/SHA384/reset/17 902s ok 1316 /checksum/SHA384/reset/18 902s ok 1317 /checksum/SHA384/reset/19 902s ok 1318 /checksum/SHA384/reset/20 902s ok 1319 /checksum/SHA384/reset/21 902s ok 1320 /checksum/SHA384/reset/22 902s ok 1321 /checksum/SHA384/reset/23 902s ok 1322 /checksum/SHA384/reset/24 902s ok 1323 /checksum/SHA384/reset/25 902s ok 1324 /checksum/SHA384/reset/26 902s ok 1325 /checksum/SHA384/reset/27 902s ok 1326 /checksum/SHA384/reset/28 902s ok 1327 /checksum/SHA384/reset/29 902s ok 1328 /checksum/SHA384/reset/30 902s ok 1329 /checksum/SHA384/reset/31 902s ok 1330 /checksum/SHA384/reset/32 902s ok 1331 /checksum/SHA384/reset/33 902s ok 1332 /checksum/SHA384/reset/34 902s ok 1333 /checksum/SHA384/reset/35 902s ok 1334 /checksum/SHA384/reset/36 902s ok 1335 /checksum/SHA384/reset/37 902s ok 1336 /checksum/SHA384/reset/38 902s ok 1337 /checksum/SHA384/reset/39 902s ok 1338 /checksum/SHA384/reset/40 902s ok 1339 /checksum/SHA384/reset/41 902s ok 1340 /checksum/SHA384/reset/42 902s ok 1341 /checksum/SHA384/reset/43 902s ok 1342 /checksum/SHA384/reset/44 902s ok 1343 /checksum/SHA384/reset/45 902s ok 1344 /checksum/SHA384/reset/46 902s ok 1345 /checksum/SHA384/reset/47 902s ok 1346 /checksum/SHA384/reset/48 902s ok 1347 /checksum/SHA384/reset/49 902s ok 1348 /checksum/SHA384/reset/50 902s ok 1349 /checksum/SHA384/reset/51 902s ok 1350 /checksum/SHA384/reset/52 902s ok 1351 /checksum/SHA384/reset/53 902s ok 1352 /checksum/SHA384/reset/54 902s ok 1353 /checksum/SHA384/reset/55 902s ok 1354 /checksum/SHA384/reset/56 902s ok 1355 /checksum/SHA384/reset/57 902s ok 1356 /checksum/SHA384/reset/58 902s ok 1357 /checksum/SHA384/reset/59 902s ok 1358 /checksum/SHA384/reset/60 902s ok 1359 /checksum/SHA384/reset/61 902s ok 1360 /checksum/SHA384/reset/62 902s ok 1361 /checksum/SHA384/reset/63 902s ok 1362 /checksum/SHA384/reset/64 902s ok 1363 /checksum/SHA384/reset/65 902s ok 1364 /checksum/SHA384/reset/66 902s ok 1365 /checksum/SHA384/reset/67 902s ok 1366 /checksum/SHA384/reset/68 902s ok 1367 /checksum/SHA384/reset/69 902s ok 1368 /checksum/SHA384/reset/70 902s ok 1369 /checksum/SHA384/reset/71 902s ok 1370 /checksum/SHA384/reset/72 902s ok 1371 /checksum/SHA384/reset/73 902s ok 1372 /checksum/SHA384/reset/74 902s ok 1373 /checksum/SHA384/reset/75 902s ok 1374 /checksum/SHA384/reset/76 902s ok 1375 /checksum/SHA384/reset/77 902s ok 1376 /checksum/SHA384/reset/78 902s ok 1377 /checksum/SHA384/reset/79 902s ok 1378 /checksum/SHA384/reset/80 902s ok 1379 /checksum/SHA384/reset/81 902s ok 1380 /checksum/SHA384/reset/82 902s ok 1381 /checksum/SHA384/reset/83 902s ok 1382 /checksum/SHA384/reset/84 902s ok 1383 /checksum/SHA384/reset/85 902s ok 1384 /checksum/SHA384/reset/86 902s ok 1385 /checksum/SHA384/reset/87 902s ok 1386 /checksum/SHA384/reset/88 902s ok 1387 /checksum/SHA384/reset/89 902s ok 1388 /checksum/SHA384/reset/90 902s ok 1389 /checksum/SHA384/reset/91 902s ok 1390 /checksum/SHA384/reset/92 902s ok 1391 /checksum/SHA384/reset/93 902s ok 1392 /checksum/SHA384/reset/94 902s ok 1393 /checksum/SHA384/reset/95 902s ok 1394 /checksum/SHA384/reset/96 902s ok 1395 /checksum/SHA384/reset/97 902s ok 1396 /checksum/SHA384/reset/98 902s ok 1397 /checksum/SHA384/reset/99 902s ok 1398 /checksum/SHA384/reset/100 902s ok 1399 /checksum/SHA384/reset/101 902s ok 1400 /checksum/SHA384/reset/102 902s ok 1401 /checksum/SHA384/reset/103 902s ok 1402 /checksum/SHA384/reset/104 902s ok 1403 /checksum/SHA384/reset/105 902s ok 1404 /checksum/SHA384/reset/106 902s ok 1405 /checksum/SHA384/reset/107 902s ok 1406 /checksum/SHA384/reset/108 902s ok 1407 /checksum/SHA384/reset/109 902s ok 1408 /checksum/SHA384/reset/110 902s ok 1409 /checksum/SHA384/reset/111 902s ok 1410 /checksum/SHA384/reset/112 902s ok 1411 /checksum/SHA384/reset/113 902s ok 1412 /checksum/SHA384/reset/114 902s ok 1413 /checksum/SHA384/reset/115 902s ok 1414 /checksum/SHA384/reset/116 902s ok 1415 /checksum/SHA384/reset/117 902s ok 1416 /checksum/SHA384/reset/118 902s ok 1417 /checksum/SHA384/reset/119 902s ok 1418 /checksum/SHA384/reset/120 902s ok 1419 /checksum/SHA384/reset/121 902s ok 1420 /checksum/SHA384/reset/122 902s ok 1421 /checksum/SHA384/reset/123 902s ok 1422 /checksum/SHA384/reset/124 902s ok 1423 /checksum/SHA384/reset/125 902s ok 1424 /checksum/SHA384/reset/126 902s ok 1425 /checksum/SHA384/reset/127 902s ok 1426 /checksum/SHA384/reset/128 902s ok 1427 /checksum/SHA384/reset/129 902s ok 1428 /checksum/SHA384/reset/130 902s ok 1429 /checksum/SHA384/reset/131 902s ok 1430 /checksum/SHA384/reset/132 902s ok 1431 /checksum/SHA384/reset/133 902s ok 1432 /checksum/SHA384/reset/134 902s ok 1433 /checksum/SHA384/reset/135 902s ok 1434 /checksum/SHA384/reset/136 902s ok 1435 /checksum/SHA384/reset/137 902s ok 1436 /checksum/SHA384/reset/138 902s ok 1437 /checksum/SHA384/reset/139 902s ok 1438 /checksum/SHA384/reset/140 902s ok 1439 /checksum/SHA384/reset/141 902s ok 1440 /checksum/SHA384/reset/142 902s ok 1441 /checksum/SHA384/reset/143 902s ok 1442 /checksum/SHA384/reset/144 902s ok 1443 /checksum/SHA384/reset/145 902s ok 1444 /checksum/SHA384/reset/146 902s ok 1445 /checksum/SHA384/reset/147 902s ok 1446 /checksum/SHA384/reset/148 902s ok 1447 /checksum/SHA384/reset/149 902s ok 1448 /checksum/SHA384/reset/150 902s ok 1449 /checksum/SHA384/reset/151 902s ok 1450 /checksum/SHA384/reset/152 902s ok 1451 /checksum/SHA384/reset/153 902s ok 1452 /checksum/SHA384/reset/154 902s ok 1453 /checksum/SHA384/reset/155 902s ok 1454 /checksum/SHA384/reset/156 902s ok 1455 /checksum/SHA384/reset/157 902s ok 1456 /checksum/SHA384/reset/158 902s ok 1457 /checksum/SHA384/reset/159 902s ok 1458 /checksum/SHA384/reset/160 902s ok 1459 /checksum/SHA384/reset/161 902s ok 1460 /checksum/SHA384/reset/162 902s ok 1461 /checksum/SHA384/reset/163 902s ok 1462 /checksum/SHA384/reset/164 902s ok 1463 /checksum/SHA384/reset/165 902s ok 1464 /checksum/SHA384/reset/166 902s ok 1465 /checksum/SHA384/reset/167 902s ok 1466 /checksum/SHA384/reset/168 902s ok 1467 /checksum/SHA384/reset/169 902s ok 1468 /checksum/SHA384/reset/170 902s ok 1469 /checksum/SHA384/reset/171 902s ok 1470 /checksum/SHA384/reset/172 902s ok 1471 /checksum/SHA384/reset/173 902s ok 1472 /checksum/SHA384/reset/174 902s ok 1473 /checksum/SHA384/reset/175 902s ok 1474 /checksum/SHA384/reset/176 902s ok 1475 /checksum/SHA384/reset/177 902s ok 1476 /checksum/SHA384/reset/178 902s ok 1477 /checksum/SHA384/reset/179 902s ok 1478 /checksum/SHA384/reset/180 902s ok 1479 /checksum/SHA384/reset/181 902s ok 1480 /checksum/SHA384/reset/182 902s ok 1481 /checksum/SHA384/reset/183 902s # End of reset tests 902s # End of SHA384 tests 902s # Start of SHA512 tests 902s ok 1482 /checksum/SHA512/0 902s ok 1483 /checksum/SHA512/1 902s ok 1484 /checksum/SHA512/2 902s ok 1485 /checksum/SHA512/3 902s ok 1486 /checksum/SHA512/4 902s ok 1487 /checksum/SHA512/5 902s ok 1488 /checksum/SHA512/6 902s ok 1489 /checksum/SHA512/7 902s ok 1490 /checksum/SHA512/8 902s ok 1491 /checksum/SHA512/9 902s ok 1492 /checksum/SHA512/10 902s ok 1493 /checksum/SHA512/11 902s ok 1494 /checksum/SHA512/12 902s ok 1495 /checksum/SHA512/13 902s ok 1496 /checksum/SHA512/14 902s ok 1497 /checksum/SHA512/15 902s ok 1498 /checksum/SHA512/16 902s ok 1499 /checksum/SHA512/17 902s ok 1500 /checksum/SHA512/18 902s ok 1501 /checksum/SHA512/19 902s ok 1502 /checksum/SHA512/20 902s ok 1503 /checksum/SHA512/21 902s ok 1504 /checksum/SHA512/22 902s ok 1505 /checksum/SHA512/23 902s ok 1506 /checksum/SHA512/24 902s ok 1507 /checksum/SHA512/25 902s ok 1508 /checksum/SHA512/26 902s ok 1509 /checksum/SHA512/27 902s ok 1510 /checksum/SHA512/28 902s ok 1511 /checksum/SHA512/29 902s ok 1512 /checksum/SHA512/30 902s ok 1513 /checksum/SHA512/31 902s ok 1514 /checksum/SHA512/32 902s ok 1515 /checksum/SHA512/33 902s ok 1516 /checksum/SHA512/34 902s ok 1517 /checksum/SHA512/35 902s ok 1518 /checksum/SHA512/36 902s ok 1519 /checksum/SHA512/37 902s ok 1520 /checksum/SHA512/38 902s ok 1521 /checksum/SHA512/39 902s ok 1522 /checksum/SHA512/40 902s ok 1523 /checksum/SHA512/41 902s ok 1524 /checksum/SHA512/42 902s ok 1525 /checksum/SHA512/43 902s ok 1526 /checksum/SHA512/44 902s ok 1527 /checksum/SHA512/45 902s ok 1528 /checksum/SHA512/46 902s ok 1529 /checksum/SHA512/47 902s ok 1530 /checksum/SHA512/48 902s ok 1531 /checksum/SHA512/49 902s ok 1532 /checksum/SHA512/50 902s ok 1533 /checksum/SHA512/51 902s ok 1534 /checksum/SHA512/52 902s ok 1535 /checksum/SHA512/53 902s ok 1536 /checksum/SHA512/54 902s ok 1537 /checksum/SHA512/55 902s ok 1538 /checksum/SHA512/56 902s ok 1539 /checksum/SHA512/57 902s ok 1540 /checksum/SHA512/58 902s ok 1541 /checksum/SHA512/59 902s ok 1542 /checksum/SHA512/60 902s ok 1543 /checksum/SHA512/61 902s ok 1544 /checksum/SHA512/62 902s ok 1545 /checksum/SHA512/63 902s ok 1546 /checksum/SHA512/64 902s ok 1547 /checksum/SHA512/65 902s ok 1548 /checksum/SHA512/66 902s ok 1549 /checksum/SHA512/67 902s ok 1550 /checksum/SHA512/68 902s ok 1551 /checksum/SHA512/69 902s ok 1552 /checksum/SHA512/70 902s ok 1553 /checksum/SHA512/71 902s ok 1554 /checksum/SHA512/72 902s ok 1555 /checksum/SHA512/73 902s ok 1556 /checksum/SHA512/74 902s ok 1557 /checksum/SHA512/75 902s ok 1558 /checksum/SHA512/76 902s ok 1559 /checksum/SHA512/77 902s ok 1560 /checksum/SHA512/78 902s ok 1561 /checksum/SHA512/79 902s ok 1562 /checksum/SHA512/80 902s ok 1563 /checksum/SHA512/81 902s ok 1564 /checksum/SHA512/82 902s ok 1565 /checksum/SHA512/83 902s ok 1566 /checksum/SHA512/84 902s ok 1567 /checksum/SHA512/85 902s ok 1568 /checksum/SHA512/86 902s ok 1569 /checksum/SHA512/87 902s ok 1570 /checksum/SHA512/88 902s ok 1571 /checksum/SHA512/89 902s ok 1572 /checksum/SHA512/90 902s ok 1573 /checksum/SHA512/91 902s ok 1574 /checksum/SHA512/92 902s ok 1575 /checksum/SHA512/93 902s ok 1576 /checksum/SHA512/94 902s ok 1577 /checksum/SHA512/95 902s ok 1578 /checksum/SHA512/96 902s ok 1579 /checksum/SHA512/97 902s ok 1580 /checksum/SHA512/98 902s ok 1581 /checksum/SHA512/99 902s ok 1582 /checksum/SHA512/100 902s ok 1583 /checksum/SHA512/101 902s ok 1584 /checksum/SHA512/102 902s ok 1585 /checksum/SHA512/103 902s ok 1586 /checksum/SHA512/104 902s ok 1587 /checksum/SHA512/105 902s ok 1588 /checksum/SHA512/106 902s ok 1589 /checksum/SHA512/107 902s ok 1590 /checksum/SHA512/108 902s ok 1591 /checksum/SHA512/109 902s ok 1592 /checksum/SHA512/110 902s ok 1593 /checksum/SHA512/111 902s ok 1594 /checksum/SHA512/112 902s ok 1595 /checksum/SHA512/113 902s ok 1596 /checksum/SHA512/114 902s ok 1597 /checksum/SHA512/115 902s ok 1598 /checksum/SHA512/116 902s ok 1599 /checksum/SHA512/117 902s ok 1600 /checksum/SHA512/118 902s ok 1601 /checksum/SHA512/119 902s ok 1602 /checksum/SHA512/120 902s ok 1603 /checksum/SHA512/121 902s ok 1604 /checksum/SHA512/122 902s ok 1605 /checksum/SHA512/123 902s ok 1606 /checksum/SHA512/124 902s ok 1607 /checksum/SHA512/125 902s ok 1608 /checksum/SHA512/126 902s ok 1609 /checksum/SHA512/127 902s ok 1610 /checksum/SHA512/128 902s ok 1611 /checksum/SHA512/129 902s ok 1612 /checksum/SHA512/130 902s ok 1613 /checksum/SHA512/131 902s ok 1614 /checksum/SHA512/132 902s ok 1615 /checksum/SHA512/133 902s ok 1616 /checksum/SHA512/134 902s ok 1617 /checksum/SHA512/135 902s ok 1618 /checksum/SHA512/136 902s ok 1619 /checksum/SHA512/137 902s ok 1620 /checksum/SHA512/138 902s ok 1621 /checksum/SHA512/139 902s ok 1622 /checksum/SHA512/140 902s ok 1623 /checksum/SHA512/141 902s ok 1624 /checksum/SHA512/142 902s ok 1625 /checksum/SHA512/143 902s ok 1626 /checksum/SHA512/144 902s ok 1627 /checksum/SHA512/145 902s ok 1628 /checksum/SHA512/146 902s ok 1629 /checksum/SHA512/147 902s ok 1630 /checksum/SHA512/148 902s ok 1631 /checksum/SHA512/149 902s ok 1632 /checksum/SHA512/150 902s ok 1633 /checksum/SHA512/151 902s ok 1634 /checksum/SHA512/152 902s ok 1635 /checksum/SHA512/153 902s ok 1636 /checksum/SHA512/154 902s ok 1637 /checksum/SHA512/155 902s ok 1638 /checksum/SHA512/156 902s ok 1639 /checksum/SHA512/157 902s ok 1640 /checksum/SHA512/158 902s ok 1641 /checksum/SHA512/159 902s ok 1642 /checksum/SHA512/160 902s ok 1643 /checksum/SHA512/161 902s ok 1644 /checksum/SHA512/162 902s ok 1645 /checksum/SHA512/163 902s ok 1646 /checksum/SHA512/164 902s ok 1647 /checksum/SHA512/165 902s ok 1648 /checksum/SHA512/166 902s ok 1649 /checksum/SHA512/167 902s ok 1650 /checksum/SHA512/168 902s ok 1651 /checksum/SHA512/169 902s ok 1652 /checksum/SHA512/170 902s ok 1653 /checksum/SHA512/171 902s ok 1654 /checksum/SHA512/172 902s ok 1655 /checksum/SHA512/173 902s ok 1656 /checksum/SHA512/174 902s ok 1657 /checksum/SHA512/175 902s ok 1658 /checksum/SHA512/176 902s ok 1659 /checksum/SHA512/177 902s ok 1660 /checksum/SHA512/178 902s ok 1661 /checksum/SHA512/179 902s ok 1662 /checksum/SHA512/180 902s ok 1663 /checksum/SHA512/181 902s ok 1664 /checksum/SHA512/182 902s ok 1665 /checksum/SHA512/183 902s ok 1666 /checksum/SHA512/string 902s ok 1667 /checksum/SHA512/bytes 902s # Start of reset tests 902s ok 1668 /checksum/SHA512/reset/0 902s ok 1669 /checksum/SHA512/reset/1 902s ok 1670 /checksum/SHA512/reset/2 902s ok 1671 /checksum/SHA512/reset/3 902s ok 1672 /checksum/SHA512/reset/4 902s ok 1673 /checksum/SHA512/reset/5 902s ok 1674 /checksum/SHA512/reset/6 902s ok 1675 /checksum/SHA512/reset/7 902s ok 1676 /checksum/SHA512/reset/8 902s ok 1677 /checksum/SHA512/reset/9 902s ok 1678 /checksum/SHA512/reset/10 902s ok 1679 /checksum/SHA512/reset/11 902s ok 1680 /checksum/SHA512/reset/12 902s ok 1681 /checksum/SHA512/reset/13 902s ok 1682 /checksum/SHA512/reset/14 902s ok 1683 /checksum/SHA512/reset/15 902s ok 1684 /checksum/SHA512/reset/16 902s ok 1685 /checksum/SHA512/reset/17 902s ok 1686 /checksum/SHA512/reset/18 902s ok 1687 /checksum/SHA512/reset/19 902s ok 1688 /checksum/SHA512/reset/20 902s ok 1689 /checksum/SHA512/reset/21 902s ok 1690 /checksum/SHA512/reset/22 902s ok 1691 /checksum/SHA512/reset/23 902s ok 1692 /checksum/SHA512/reset/24 902s ok 1693 /checksum/SHA512/reset/25 902s ok 1694 /checksum/SHA512/reset/26 902s ok 1695 /checksum/SHA512/reset/27 902s ok 1696 /checksum/SHA512/reset/28 902s ok 1697 /checksum/SHA512/reset/29 902s ok 1698 /checksum/SHA512/reset/30 902s ok 1699 /checksum/SHA512/reset/31 902s ok 1700 /checksum/SHA512/reset/32 902s ok 1701 /checksum/SHA512/reset/33 902s ok 1702 /checksum/SHA512/reset/34 902s ok 1703 /checksum/SHA512/reset/35 902s ok 1704 /checksum/SHA512/reset/36 902s ok 1705 /checksum/SHA512/reset/37 902s ok 1706 /checksum/SHA512/reset/38 902s ok 1707 /checksum/SHA512/reset/39 902s ok 1708 /checksum/SHA512/reset/40 902s ok 1709 /checksum/SHA512/reset/41 902s ok 1710 /checksum/SHA512/reset/42 902s ok 1711 /checksum/SHA512/reset/43 902s ok 1712 /checksum/SHA512/reset/44 902s ok 1713 /checksum/SHA512/reset/45 902s ok 1714 /checksum/SHA512/reset/46 902s ok 1715 /checksum/SHA512/reset/47 902s ok 1716 /checksum/SHA512/reset/48 902s ok 1717 /checksum/SHA512/reset/49 902s ok 1718 /checksum/SHA512/reset/50 902s ok 1719 /checksum/SHA512/reset/51 902s ok 1720 /checksum/SHA512/reset/52 902s ok 1721 /checksum/SHA512/reset/53 902s ok 1722 /checksum/SHA512/reset/54 902s ok 1723 /checksum/SHA512/reset/55 902s ok 1724 /checksum/SHA512/reset/56 902s ok 1725 /checksum/SHA512/reset/57 902s ok 1726 /checksum/SHA512/reset/58 902s ok 1727 /checksum/SHA512/reset/59 902s ok 1728 /checksum/SHA512/reset/60 902s ok 1729 /checksum/SHA512/reset/61 902s ok 1730 /checksum/SHA512/reset/62 902s ok 1731 /checksum/SHA512/reset/63 902s ok 1732 /checksum/SHA512/reset/64 902s ok 1733 /checksum/SHA512/reset/65 902s ok 1734 /checksum/SHA512/reset/66 902s ok 1735 /checksum/SHA512/reset/67 902s ok 1736 /checksum/SHA512/reset/68 902s ok 1737 /checksum/SHA512/reset/69 902s ok 1738 /checksum/SHA512/reset/70 902s ok 1739 /checksum/SHA512/reset/71 902s ok 1740 /checksum/SHA512/reset/72 902s ok 1741 /checksum/SHA512/reset/73 902s ok 1742 /checksum/SHA512/reset/74 902s ok 1743 /checksum/SHA512/reset/75 902s ok 1744 /checksum/SHA512/reset/76 902s ok 1745 /checksum/SHA512/reset/77 902s ok 1746 /checksum/SHA512/reset/78 902s ok 1747 /checksum/SHA512/reset/79 902s ok 1748 /checksum/SHA512/reset/80 902s ok 1749 /checksum/SHA512/reset/81 902s ok 1750 /checksum/SHA512/reset/82 902s ok 1751 /checksum/SHA512/reset/83 902s ok 1752 /checksum/SHA512/reset/84 902s ok 1753 /checksum/SHA512/reset/85 902s ok 1754 /checksum/SHA512/reset/86 902s ok 1755 /checksum/SHA512/reset/87 902s ok 1756 /checksum/SHA512/reset/88 902s ok 1757 /checksum/SHA512/reset/89 902s ok 1758 /checksum/SHA512/reset/90 902s ok 1759 /checksum/SHA512/reset/91 902s ok 1760 /checksum/SHA512/reset/92 902s ok 1761 /checksum/SHA512/reset/93 902s ok 1762 /checksum/SHA512/reset/94 902s ok 1763 /checksum/SHA512/reset/95 902s ok 1764 /checksum/SHA512/reset/96 902s ok 1765 /checksum/SHA512/reset/97 902s ok 1766 /checksum/SHA512/reset/98 902s ok 1767 /checksum/SHA512/reset/99 902s ok 1768 /checksum/SHA512/reset/100 902s ok 1769 /checksum/SHA512/reset/101 902s ok 1770 /checksum/SHA512/reset/102 902s ok 1771 /checksum/SHA512/reset/103 902s ok 1772 /checksum/SHA512/reset/104 902s ok 1773 /checksum/SHA512/reset/105 902s ok 1774 /checksum/SHA512/reset/106 902s ok 1775 /checksum/SHA512/reset/107 902s ok 1776 /checksum/SHA512/reset/108 902s ok 1777 /checksum/SHA512/reset/109 902s ok 1778 /checksum/SHA512/reset/110 902s ok 1779 /checksum/SHA512/reset/111 902s ok 1780 /checksum/SHA512/reset/112 902s ok 1781 /checksum/SHA512/reset/113 902s ok 1782 /checksum/SHA512/reset/114 902s ok 1783 /checksum/SHA512/reset/115 902s ok 1784 /checksum/SHA512/reset/116 902s ok 1785 /checksum/SHA512/reset/117 902s ok 1786 /checksum/SHA512/reset/118 902s ok 1787 /checksum/SHA512/reset/119 902s ok 1788 /checksum/SHA512/reset/120 902s ok 1789 /checksum/SHA512/reset/121 902s ok 1790 /checksum/SHA512/reset/122 902s ok 1791 /checksum/SHA512/reset/123 902s ok 1792 /checksum/SHA512/reset/124 902s ok 1793 /checksum/SHA512/reset/125 902s ok 1794 /checksum/SHA512/reset/126 902s ok 1795 /checksum/SHA512/reset/127 902s ok 1796 /checksum/SHA512/reset/128 902s ok 1797 /checksum/SHA512/reset/129 902s ok 1798 /checksum/SHA512/reset/130 902s ok 1799 /checksum/SHA512/reset/131 902s ok 1800 /checksum/SHA512/reset/132 902s ok 1801 /checksum/SHA512/reset/133 902s ok 1802 /checksum/SHA512/reset/134 902s ok 1803 /checksum/SHA512/reset/135 902s ok 1804 /checksum/SHA512/reset/136 902s ok 1805 /checksum/SHA512/reset/137 902s ok 1806 /checksum/SHA512/reset/138 902s ok 1807 /checksum/SHA512/reset/139 902s ok 1808 /checksum/SHA512/reset/140 902s ok 1809 /checksum/SHA512/reset/141 902s ok 1810 /checksum/SHA512/reset/142 902s ok 1811 /checksum/SHA512/reset/143 902s ok 1812 /checksum/SHA512/reset/144 902s ok 1813 /checksum/SHA512/reset/145 902s ok 1814 /checksum/SHA512/reset/146 902s ok 1815 /checksum/SHA512/reset/147 902s ok 1816 /checksum/SHA512/reset/148 902s ok 1817 /checksum/SHA512/reset/149 902s ok 1818 /checksum/SHA512/reset/150 902s ok 1819 /checksum/SHA512/reset/151 902s ok 1820 /checksum/SHA512/reset/152 902s ok 1821 /checksum/SHA512/reset/153 902s ok 1822 /checksum/SHA512/reset/154 902s ok 1823 /checksum/SHA512/reset/155 902s ok 1824 /checksum/SHA512/reset/156 902s ok 1825 /checksum/SHA512/reset/157 902s ok 1826 /checksum/SHA512/reset/158 902s ok 1827 /checksum/SHA512/reset/159 902s ok 1828 /checksum/SHA512/reset/160 902s ok 1829 /checksum/SHA512/reset/161 902s ok 1830 /checksum/SHA512/reset/162 902s ok 1831 /checksum/SHA512/reset/163 902s ok 1832 /checksum/SHA512/reset/164 902s ok 1833 /checksum/SHA512/reset/165 902s ok 1834 /checksum/SHA512/reset/166 902s ok 1835 /checksum/SHA512/reset/167 902s ok 1836 /checksum/SHA512/reset/168 902s ok 1837 /checksum/SHA512/reset/169 902s ok 1838 /checksum/SHA512/reset/170 902s ok 1839 /checksum/SHA512/reset/171 902s ok 1840 /checksum/SHA512/reset/172 902s ok 1841 /checksum/SHA512/reset/173 902s ok 1842 /checksum/SHA512/reset/174 902s ok 1843 /checksum/SHA512/reset/175 902s ok 1844 /checksum/SHA512/reset/176 902s ok 1845 /checksum/SHA512/reset/177 902s ok 1846 /checksum/SHA512/reset/178 902s ok 1847 /checksum/SHA512/reset/179 902s ok 1848 /checksum/SHA512/reset/180 902s ok 1849 /checksum/SHA512/reset/181 902s ok 1850 /checksum/SHA512/reset/182 902s ok 1851 /checksum/SHA512/reset/183 902s # End of reset tests 902s # End of SHA512 tests 902s # End of checksum tests 902s ok - glib/checksum.test 902s # Running test: glib/utf8-validate.test 902s TAP version 14 902s # random seed: R02S9bb7a67b980085b51b870c91d8ff1337 902s 1..216 902s # Start of utf8 tests 902s # Vector 0 902s # Vector 1 902s # Vector 2 902s # Vector 3 902s # Vector 4 902s # Vector 5 902s # Vector 6 902s # Vector 7 902s # Vector 8 902s # Vector 9 902s # Vector 10 902s # Vector 11 902s # Vector 12 902s # Vector 13 902s # Vector 14 902s # Vector 15 902s # Vector 16 902s # Vector 17 902s # Vector 18 902s # Vector 19 902s # Vector 20 902s # Vector 21 902s # Vector 22 902s # Vector 23 902s # Vector 24 902s # Vector 25 902s # Vector 26 902s # Vector 27 902s ok 1 /utf8/get-char-validated 902s # Start of validate tests 902s ok 2 /utf8/validate/0 902s ok 3 /utf8/validate/1 902s ok 4 /utf8/validate/2 902s ok 5 /utf8/validate/3 902s ok 6 /utf8/validate/4 902s ok 7 /utf8/validate/5 902s ok 8 /utf8/validate/6 902s ok 9 /utf8/validate/7 902s ok 10 /utf8/validate/8 902s ok 11 /utf8/validate/9 902s ok 12 /utf8/validate/10 902s ok 13 /utf8/validate/11 902s ok 14 /utf8/validate/12 902s ok 15 /utf8/validate/13 902s ok 16 /utf8/validate/14 902s ok 17 /utf8/validate/15 902s ok 18 /utf8/validate/16 902s ok 19 /utf8/validate/17 902s ok 20 /utf8/validate/18 902s ok 21 /utf8/validate/19 902s ok 22 /utf8/validate/20 902s ok 23 /utf8/validate/21 902s ok 24 /utf8/validate/22 902s ok 25 /utf8/validate/23 902s ok 26 /utf8/validate/24 902s ok 27 /utf8/validate/25 902s ok 28 /utf8/validate/26 902s ok 29 /utf8/validate/27 902s ok 30 /utf8/validate/28 902s ok 31 /utf8/validate/29 902s ok 32 /utf8/validate/30 902s ok 33 /utf8/validate/31 902s ok 34 /utf8/validate/32 902s ok 35 /utf8/validate/33 902s ok 36 /utf8/validate/34 902s ok 37 /utf8/validate/35 902s ok 38 /utf8/validate/36 902s ok 39 /utf8/validate/37 902s ok 40 /utf8/validate/38 902s ok 41 /utf8/validate/39 902s ok 42 /utf8/validate/40 902s ok 43 /utf8/validate/41 902s ok 44 /utf8/validate/42 902s ok 45 /utf8/validate/43 902s ok 46 /utf8/validate/44 902s ok 47 /utf8/validate/45 902s ok 48 /utf8/validate/46 902s ok 49 /utf8/validate/47 902s ok 50 /utf8/validate/48 902s ok 51 /utf8/validate/49 902s ok 52 /utf8/validate/50 902s ok 53 /utf8/validate/51 902s ok 54 /utf8/validate/52 902s ok 55 /utf8/validate/53 902s ok 56 /utf8/validate/54 902s ok 57 /utf8/validate/55 902s ok 58 /utf8/validate/56 902s ok 59 /utf8/validate/57 902s ok 60 /utf8/validate/58 902s ok 61 /utf8/validate/59 902s ok 62 /utf8/validate/60 902s ok 63 /utf8/validate/61 902s ok 64 /utf8/validate/62 902s ok 65 /utf8/validate/63 902s ok 66 /utf8/validate/64 902s ok 67 /utf8/validate/65 902s ok 68 /utf8/validate/66 902s ok 69 /utf8/validate/67 902s ok 70 /utf8/validate/68 902s ok 71 /utf8/validate/69 902s ok 72 /utf8/validate/70 902s ok 73 /utf8/validate/71 902s ok 74 /utf8/validate/72 902s ok 75 /utf8/validate/73 902s ok 76 /utf8/validate/74 902s ok 77 /utf8/validate/75 902s ok 78 /utf8/validate/76 902s ok 79 /utf8/validate/77 902s ok 80 /utf8/validate/78 902s ok 81 /utf8/validate/79 902s ok 82 /utf8/validate/80 902s ok 83 /utf8/validate/81 902s ok 84 /utf8/validate/82 902s ok 85 /utf8/validate/83 902s ok 86 /utf8/validate/84 902s ok 87 /utf8/validate/85 902s ok 88 /utf8/validate/86 902s ok 89 /utf8/validate/87 902s ok 90 /utf8/validate/88 902s ok 91 /utf8/validate/89 902s ok 92 /utf8/validate/90 902s ok 93 /utf8/validate/91 902s ok 94 /utf8/validate/92 902s ok 95 /utf8/validate/93 902s ok 96 /utf8/validate/94 902s ok 97 /utf8/validate/95 902s ok 98 /utf8/validate/96 902s ok 99 /utf8/validate/97 902s ok 100 /utf8/validate/98 902s ok 101 /utf8/validate/99 902s ok 102 /utf8/validate/100 902s ok 103 /utf8/validate/101 902s ok 104 /utf8/validate/102 902s ok 105 /utf8/validate/103 902s ok 106 /utf8/validate/104 902s ok 107 /utf8/validate/105 902s ok 108 /utf8/validate/106 902s ok 109 /utf8/validate/107 902s ok 110 /utf8/validate/108 902s ok 111 /utf8/validate/109 902s ok 112 /utf8/validate/110 902s ok 113 /utf8/validate/111 902s ok 114 /utf8/validate/112 902s ok 115 /utf8/validate/113 902s ok 116 /utf8/validate/114 902s ok 117 /utf8/validate/115 902s ok 118 /utf8/validate/116 902s ok 119 /utf8/validate/117 902s ok 120 /utf8/validate/118 902s ok 121 /utf8/validate/119 902s ok 122 /utf8/validate/120 902s ok 123 /utf8/validate/121 902s ok 124 /utf8/validate/122 902s ok 125 /utf8/validate/123 902s ok 126 /utf8/validate/124 902s ok 127 /utf8/validate/125 902s ok 128 /utf8/validate/126 902s ok 129 /utf8/validate/127 902s ok 130 /utf8/validate/128 902s ok 131 /utf8/validate/129 902s ok 132 /utf8/validate/130 902s ok 133 /utf8/validate/131 902s ok 134 /utf8/validate/132 902s ok 135 /utf8/validate/133 902s ok 136 /utf8/validate/134 902s ok 137 /utf8/validate/135 902s ok 138 /utf8/validate/136 902s ok 139 /utf8/validate/137 902s ok 140 /utf8/validate/138 902s ok 141 /utf8/validate/139 902s ok 142 /utf8/validate/140 902s ok 143 /utf8/validate/141 902s ok 144 /utf8/validate/142 902s ok 145 /utf8/validate/143 902s ok 146 /utf8/validate/144 902s ok 147 /utf8/validate/145 902s ok 148 /utf8/validate/146 902s ok 149 /utf8/validate/147 902s ok 150 /utf8/validate/148 902s ok 151 /utf8/validate/149 902s ok 152 /utf8/validate/150 902s ok 153 /utf8/validate/151 902s ok 154 /utf8/validate/152 902s ok 155 /utf8/validate/153 902s ok 156 /utf8/validate/154 902s ok 157 /utf8/validate/155 902s ok 158 /utf8/validate/156 902s ok 159 /utf8/validate/157 902s ok 160 /utf8/validate/158 902s ok 161 /utf8/validate/159 902s ok 162 /utf8/validate/160 902s ok 163 /utf8/validate/161 902s ok 164 /utf8/validate/162 902s ok 165 /utf8/validate/163 902s ok 166 /utf8/validate/164 902s ok 167 /utf8/validate/165 902s ok 168 /utf8/validate/166 902s ok 169 /utf8/validate/167 902s ok 170 /utf8/validate/168 902s ok 171 /utf8/validate/169 902s ok 172 /utf8/validate/170 902s ok 173 /utf8/validate/171 902s ok 174 /utf8/validate/172 902s ok 175 /utf8/validate/173 902s ok 176 /utf8/validate/174 902s ok 177 /utf8/validate/175 902s ok 178 /utf8/validate/176 902s ok 179 /utf8/validate/177 902s ok 180 /utf8/validate/178 902s ok 181 /utf8/validate/179 902s ok 182 /utf8/validate/180 902s ok 183 /utf8/validate/181 902s ok 184 /utf8/validate/182 902s ok 185 /utf8/validate/183 902s ok 186 /utf8/validate/184 902s ok 187 /utf8/validate/185 902s ok 188 /utf8/validate/186 902s ok 189 /utf8/validate/187 902s ok 190 /utf8/validate/188 902s ok 191 /utf8/validate/189 902s ok 192 /utf8/validate/190 902s ok 193 /utf8/validate/191 902s ok 194 /utf8/validate/192 902s ok 195 /utf8/validate/193 902s ok 196 /utf8/validate/194 902s ok 197 /utf8/validate/195 902s ok 198 /utf8/validate/196 902s ok 199 /utf8/validate/197 902s ok 200 /utf8/validate/198 902s ok 201 /utf8/validate/199 902s ok 202 /utf8/validate/200 902s ok 203 /utf8/validate/201 902s ok 204 /utf8/validate/202 902s ok 205 /utf8/validate/203 902s ok 206 /utf8/validate/204 902s ok 207 /utf8/validate/205 902s ok 208 /utf8/validate/206 902s ok 209 /utf8/validate/207 902s ok 210 /utf8/validate/208 902s ok 211 /utf8/validate/209 902s ok 212 /utf8/validate/210 902s ok 213 /utf8/validate/211 902s ok 214 /utf8/validate/212 902s ok 215 /utf8/validate/213 902s ok 216 /utf8/validate/214 902s # End of validate tests 902s # End of utf8 tests 902s ok - glib/utf8-validate.test 902s # Running test: glib/environment.test 902s TAP version 14 902s # random seed: R02Sd56a4459ea574c3d28f8819929e164e2 902s 1..6 902s # Start of environ tests 902s # /environ/listenv summary: Test g_get_environ() returns an array of unique keys, all of which can be individually queried using g_getenv() to return the same value. 902s ok 1 /environ/listenv 902s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 902s ok 2 /environ/getenv 902s ok 3 /environ/setenv 902s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 902s ok 4 /environ/array 902s # /environ/null summary: Test getting and setting variables on a NULL envp array. 902s ok 5 /environ/null 902s # /environ/case summary: Test that matching environment variables is case-insensitive on Windows and not on other platforms, since envvars were case-insensitive on DOS. 902s ok 6 /environ/case 902s # End of environ tests 902s ok - glib/environment.test 902s # Running test: glib/overflow-fallback.test 902s TAP version 14 902s # random seed: R02S05073b3db9771ab07c60ba5312904e11 902s 1..6 902s # Start of glib tests 902s # Start of checked-math tests 902s ok 1 /glib/checked-math/guint-add 902s ok 2 /glib/checked-math/guint-mul 902s ok 3 /glib/checked-math/guint64-add 902s ok 4 /glib/checked-math/guint64-mul 902s ok 5 /glib/checked-math/gsize-add 902s ok 6 /glib/checked-math/gsize-mul 902s # End of checked-math tests 902s # End of glib tests 902s ok - glib/overflow-fallback.test 902s # Running test: glib/relation.test 902s TAP version 14 902s # random seed: R02Sb34450d6482a14e579bff2e32cddaa05 902s 1..1 902s # Start of glib tests 902s ok 1 /glib/relation 902s # End of glib tests 902s ok - glib/relation.test 902s # Running test: glib/memory-monitor.test 902s TAP version 14 902s # random seed: R02Sfe0ef194593fe72364cee483cbe3a0c7 902s 1..1 902s # Start of memory-monitor tests 902s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 902s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 902s ok 1 /memory-monitor/default 902s # End of memory-monitor tests 902s ok - glib/memory-monitor.test 902s # Running test: glib/mimeapps.test 902s TAP version 14 902s # random seed: R02Sec94b207f175071c8a93abd2240ce2ca 902s 1..7 902s # Start of appinfo tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/runtime 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/data/applications/mimeinfo.cache' 902s ok 1 /appinfo/all 902s # Start of mime tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/runtime 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5DTF02/appinfo/all/.dirs/config to /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config 903s ok 2 /appinfo/mime/api 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/runtime 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/system-data1/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 903s # removing '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config 903s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5DTF02/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config 903s ok 3 /appinfo/mime/default 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/runtime 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/system-data1/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 903s # removing '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5DTF02/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config 903s ok 4 /appinfo/mime/file 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/runtime 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 903s # removing '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 903s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5DTF02/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/config 903s ok 5 /appinfo/mime/scheme-handler 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/runtime 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/system-data1/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 903s # removing '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5DTF02/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config 903s ok 6 /appinfo/mime/default-last-used 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/runtime 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 903s # removing '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 903s # creating '/tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 903s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5DTF02/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_5DTF02/appinfo/mime/ignore-nonexisting/.dirs/config 903s ok 7 /appinfo/mime/ignore-nonexisting 903s # End of mime tests 903s # End of appinfo tests 903s ok - glib/mimeapps.test 903s # Running test: glib/portal-support-none.test 903s TAP version 14 903s # random seed: R02S1e6b5e60732b4d8e9cb6a24545b50d6e 903s 1..1 903s # Start of portal-support tests 903s ok 1 /portal-support/none 903s # End of portal-support tests 903s ok - glib/portal-support-none.test 903s # Running test: glib/gdbus-non-socket.test 903s TAP version 14 903s # random seed: R02Sd7ecf2e44392befb4efdc1d639ac0859 903s 1..1 903s # Start of gdbus tests 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_ABHD02/gdbus/non-socket/.dirs/runtime 903s ok 1 /gdbus/non-socket 903s # End of gdbus tests 903s ok - glib/gdbus-non-socket.test 903s # Running test: glib/atomic-c-11.test 903s TAP version 14 903s # random seed: R02Sce32f39cbee2d8b4459b79461014b310 903s 1..2 903s # Start of atomic tests 903s ok 1 /atomic/types 903s ok 2 /atomic/threaded 903s # End of atomic tests 903s ok - glib/atomic-c-11.test 903s # Running test: glib/thread.test 903s TAP version 14 903s # random seed: R02Sac28e045771a79e5a18897bb80bf80ac 903s 1..7 903s # Start of thread tests 903s ok 1 /thread/thread1 903s ok 2 /thread/thread2 903s ok 3 /thread/thread3 903s ok 4 /thread/thread4 903s ok 5 /thread/thread5 903s ok 6 /thread/thread6 903s ok 7 /thread/thread7 903s # End of thread tests 903s ok - glib/thread.test 903s # Running test: glib/asyncqueue.test 903s TAP version 14 903s # random seed: R02Sff5877e26a581bc455998ed5e9e95cf0 903s 1..7 903s # Start of asyncqueue tests 903s ok 1 /asyncqueue/basics 903s ok 2 /asyncqueue/sort 903s ok 3 /asyncqueue/destroy 903s ok 4 /asyncqueue/threads 903s ok 5 /asyncqueue/timed 903s ok 6 /asyncqueue/remove 903s ok 7 /asyncqueue/push_front 903s # End of asyncqueue tests 903s ok - glib/asyncqueue.test 903s # Running test: glib/collate.test 903s TAP version 14 903s # random seed: R02Sfbc09dd2b53e8945f2289581384be533 903s 1..9 903s # Start of unicode tests 903s # Start of collate tests 903s ok 1 /unicode/collate/0 903s ok 2 /unicode/collate/1 903s ok 3 /unicode/collate/2 903s # End of collate tests 903s # Start of collate-key tests 903s ok 4 /unicode/collate-key/0 903s ok 5 /unicode/collate-key/1 903s ok 6 /unicode/collate-key/2 903s # End of collate-key tests 903s # Start of collate-filename tests 903s ok 7 /unicode/collate-filename/0 903s ok 8 /unicode/collate-filename/1 903s ok 9 /unicode/collate-filename/2 903s # End of collate-filename tests 903s # End of unicode tests 903s ok - glib/collate.test 903s # Running test: glib/performance.test 903s Running test simple-construction 904s # Executing: glib/performance.test 909s # Executing: glib/performance.test 912s simple-construction: Millions of constructed objects per second: 4.237 912s Running test simple-construction1 914s # Executing: glib/performance.test 914s simple-construction1: Millions of constructed objects per second: 55.588 914s Running test complex-construction 919s complex-construction: Millions of constructed objects per second: 2.398 919s Running test complex-construction1 919s # Executing: glib/performance.test 924s # Executing: glib/performance.test 924s complex-construction1: Millions of constructed objects per second: 3.192 924s Running test complex-construction2 929s # Executing: glib/performance.test 930s complex-construction2: Millions of constructed objects per second: 3.455 930s Running test finalization 931s finalization: Millions of finalized objects per second: 0.780 931s Running test type-check 931s type-check: Million type checks per second: inf 931s Running test emit-unhandled 932s emit-unhandled: Emissions per second: 1093822 932s Running test emit-unhandled-empty 933s emit-unhandled-empty: Emissions per second: 10200793 933s Running test emit-unhandled-generic 934s # Executing: glib/performance.test 935s emit-unhandled-generic: Emissions per second: 1339417 935s Running test emit-unhandled-generic-empty 936s emit-unhandled-generic-empty: Emissions per second: 10192318 936s Running test emit-unhandled-args 937s emit-unhandled-args: Emissions per second: 1021081 937s Running test emit-handled 938s emit-handled: Emissions per second: 817429 938s Running test emit-handled-empty 939s # Executing: glib/performance.test 939s emit-handled-empty: Emissions per second: 843562 939s Running test emit-handled-generic 940s emit-handled-generic: Emissions per second: 835632 940s Running test emit-handled-generic-empty 941s emit-handled-generic-empty: Emissions per second: 1308713 941s Running test emit-handled-args 942s emit-handled-args: Emissions per second: 778552 942s Running test notify-unhandled 943s notify-unhandled: Notify (unhandled) per second: 10928953 943s Running test notify-by-pspec-unhandled 944s # Executing: glib/performance.test 944s notify-by-pspec-unhandled: Notify (unhandled) per second: 44063766 944s Running test notify-handled 945s notify-handled: Notify per second: 470853 945s Running test notify-by-pspec-handled 946s notify-by-pspec-handled: Notify per second: 491301 946s Running test property-set 948s property-set: Property set per second: 5702217 948s Running test property-get 949s property-get: Property get per second: 4902556 949s Running test refcount 949s # Executing: glib/performance.test 950s refcount: Million refs+unref per second: 5.97 950s Running test refcount-1 951s refcount-1: Million refs+unref per second: 13.66 951s Running test refcount-toggle 953s refcount-toggle: Million refs+unref per second: 8.45 953s ok - glib/performance.test 953s # Running test: glib/private.test 953s TAP version 14 953s # random seed: R02S0aa43fe7aeab4374354361501f299d42 953s 1..8 953s # Start of thread tests 953s ok 1 /thread/private1 954s # Executing: glib/private.test 954s ok 2 /thread/private2 954s # slow test /thread/private2 executed in 1.12 secs 954s ok 3 /thread/private3 954s ok 4 /thread/staticprivate1 954s ok 5 /thread/staticprivate2 954s ok 6 /thread/staticprivate3 956s ok 7 /thread/staticprivate4 956s # slow test /thread/staticprivate4 executed in 1.12 secs 956s ok 8 /thread/staticprivate5 956s # End of thread tests 956s ok - glib/private.test 956s # Running test: glib/codegen.py.test 956s TAP version 13 956s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 956s # tmpdir: /tmp/tmpb87uiq21 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpb87uiq21/tmpifqvvhf6.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb87uiq21/tmpifqvvhf6.xml', '--output', '-', '--header'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # /* Declarations for org.project.UsefulInterface */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 956s # 956s # struct _OrgProjectUsefulInterface; 956s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 956s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 956s # 956s # struct _OrgProjectUsefulInterfaceIface 956s # { 956s # GTypeInterface parent_iface; 956s # 956s # gboolean (*handle_useful_method) ( 956s # OrgProjectUsefulInterface *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # }; 956s # 956s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 956s # 956s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 956s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 956s # 956s # 956s # /* D-Bus method call completion functions: */ 956s # void org_project_useful_interface_complete_useful_method ( 956s # OrgProjectUsefulInterface *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # 956s # 956s # /* D-Bus method calls: */ 956s # void org_project_useful_interface_call_useful_method ( 956s # OrgProjectUsefulInterface *proxy, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean org_project_useful_interface_call_useful_method_finish ( 956s # OrgProjectUsefulInterface *proxy, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean org_project_useful_interface_call_useful_method_sync ( 956s # OrgProjectUsefulInterface *proxy, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 956s # 956s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 956s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 956s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 956s # 956s # struct _OrgProjectUsefulInterfaceProxy 956s # { 956s # /*< private >*/ 956s # GDBusProxy parent_instance; 956s # OrgProjectUsefulInterfaceProxyPrivate *priv; 956s # }; 956s # 956s # struct _OrgProjectUsefulInterfaceProxyClass 956s # { 956s # GDBusProxyClass parent_class; 956s # }; 956s # 956s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 956s # #endif 956s # 956s # void org_project_useful_interface_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void org_project_useful_interface_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 956s # 956s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 956s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 956s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 956s # 956s # struct _OrgProjectUsefulInterfaceSkeleton 956s # { 956s # /*< private >*/ 956s # GDBusInterfaceSkeleton parent_instance; 956s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 956s # }; 956s # 956s # struct _OrgProjectUsefulInterfaceSkeletonClass 956s # { 956s # GDBusInterfaceSkeletonClass parent_class; 956s # }; 956s # 956s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 956s # #endif 956s # 956s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s # /tmp/tmpb87uiq21/tmpc0psgtaj.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb87uiq21/tmpc0psgtaj.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # /* Declarations for org.project.UsefulInterface */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 956s # 956s # struct _OrgProjectUsefulInterface; 956s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 956s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 956s # 956s # struct _OrgProjectUsefulInterfaceIface 956s # { 956s # GTypeInterface parent_iface; 956s # 956s # gboolean (*handle_useful_method) ( 956s # OrgProjectUsefulInterface *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # }; 956s # 956s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 956s # 956s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 956s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 956s # 956s # 956s # /* D-Bus method call completion functions: */ 956s # void org_project_useful_interface_complete_useful_method ( 956s # OrgProjectUsefulInterface *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # 956s # 956s # /* D-Bus method calls: */ 956s # void org_project_useful_interface_call_useful_method ( 956s # OrgProjectUsefulInterface *proxy, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean org_project_useful_interface_call_useful_method_finish ( 956s # OrgProjectUsefulInterface *proxy, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean org_project_useful_interface_call_useful_method_sync ( 956s # OrgProjectUsefulInterface *proxy, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 956s # 956s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 956s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 956s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 956s # 956s # struct _OrgProjectUsefulInterfaceProxy 956s # { 956s # /*< private >*/ 956s # GDBusProxy parent_instance; 956s # OrgProjectUsefulInterfaceProxyPrivate *priv; 956s # }; 956s # 956s # struct _OrgProjectUsefulInterfaceProxyClass 956s # { 956s # GDBusProxyClass parent_class; 956s # }; 956s # 956s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 956s # #endif 956s # 956s # void org_project_useful_interface_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void org_project_useful_interface_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 956s # 956s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 956s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 956s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 956s # 956s # struct _OrgProjectUsefulInterfaceSkeleton 956s # { 956s # /*< private >*/ 956s # GDBusInterfaceSkeleton parent_instance; 956s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 956s # }; 956s # 956s # struct _OrgProjectUsefulInterfaceSkeletonClass 956s # { 956s # GDBusInterfaceSkeletonClass parent_class; 956s # }; 956s # 956s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 956s # #endif 956s # 956s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s # /tmp/tmpb87uiq21/tmp2j65qg7f.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb87uiq21/tmp2j65qg7f.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # /* Declarations for org.project.UsefulInterface */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 956s # 956s # struct _OrgProjectUsefulInterface; 956s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 956s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 956s # 956s # struct _OrgProjectUsefulInterfaceIface 956s # { 956s # GTypeInterface parent_iface; 956s # 956s # gboolean (*handle_useful_method) ( 956s # OrgProjectUsefulInterface *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # }; 956s # 956s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 956s # 956s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 956s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 956s # 956s # 956s # /* D-Bus method call completion functions: */ 956s # void org_project_useful_interface_complete_useful_method ( 956s # OrgProjectUsefulInterface *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # 956s # 956s # /* D-Bus method calls: */ 956s # void org_project_useful_interface_call_useful_method ( 956s # OrgProjectUsefulInterface *proxy, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean org_project_useful_interface_call_useful_method_finish ( 956s # OrgProjectUsefulInterface *proxy, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean org_project_useful_interface_call_useful_method_sync ( 956s # OrgProjectUsefulInterface *proxy, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 956s # 956s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 956s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 956s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 956s # 956s # struct _OrgProjectUsefulInterfaceProxy 956s # { 956s # /*< private >*/ 956s # GDBusProxy parent_instance; 956s # OrgProjectUsefulInterfaceProxyPrivate *priv; 956s # }; 956s # 956s # struct _OrgProjectUsefulInterfaceProxyClass 956s # { 956s # GDBusProxyClass parent_class; 956s # }; 956s # 956s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 956s # #endif 956s # 956s # void org_project_useful_interface_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void org_project_useful_interface_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 956s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 956s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 956s # 956s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 956s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 956s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 956s # 956s # struct _OrgProjectUsefulInterfaceSkeleton 956s # { 956s # /*< private >*/ 956s # GDBusInterfaceSkeleton parent_instance; 956s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 956s # }; 956s # 956s # struct _OrgProjectUsefulInterfaceSkeletonClass 956s # { 956s # GDBusInterfaceSkeletonClass parent_class; 956s # }; 956s # 956s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 956s # #endif 956s # 956s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s ok 2 __main__.TestCodegen.test_dbus_types 956s # tmpdir: /tmp/tmpkotwnan5 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpkotwnan5/tmpp45bxfay.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpp45bxfay.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmp655qhgsh.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmp655qhgsh.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpaz4ftop4.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpaz4ftop4.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmph1ff1cqx.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmph1ff1cqx.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpbfltjnon.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpbfltjnon.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmp8h07v1ny.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmp8h07v1ny.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpeq3duxal.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpeq3duxal.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpn141yd3w.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpn141yd3w.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpilqn8bih.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpilqn8bih.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpoi69c9p_.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpoi69c9p_.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmp16yovrgs.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmp16yovrgs.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpft_woxz9.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpft_woxz9.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpicbqw6_g.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpicbqw6_g.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # /tmp/tmpkotwnan5/tmpfess_un3.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpfess_un3.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifdef HAVE_CONFIG_H 956s # # include "config.h" 956s # #endif 956s # 956s # #include 956s # #ifdef G_OS_UNIX 956s # # include 956s # #endif 956s # 956s # #ifdef G_ENABLE_DEBUG 956s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 956s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 956s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 956s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 956s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 956s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 956s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 956s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 956s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 956s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 956s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 956s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 956s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 956s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 956s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 956s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 956s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 956s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 956s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 956s # #else /* !G_ENABLE_DEBUG */ 956s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 956s # * Do not access GValues directly in your code. Instead, use the 956s # * g_value_get_*() functions 956s # */ 956s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 956s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 956s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 956s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 956s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 956s # #endif /* !G_ENABLE_DEBUG */ 956s # 956s # typedef struct 956s # { 956s # GDBusArgInfo parent_struct; 956s # gboolean use_gvariant; 956s # } _ExtendedGDBusArgInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusMethodInfo parent_struct; 956s # const gchar *signal_name; 956s # gboolean pass_fdlist; 956s # } _ExtendedGDBusMethodInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusSignalInfo parent_struct; 956s # const gchar *signal_name; 956s # } _ExtendedGDBusSignalInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusPropertyInfo parent_struct; 956s # const gchar *hyphen_name; 956s # guint use_gvariant : 1; 956s # guint emits_changed_signal : 1; 956s # } _ExtendedGDBusPropertyInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusInterfaceInfo parent_struct; 956s # const gchar *hyphen_name; 956s # } _ExtendedGDBusInterfaceInfo; 956s # 956s # typedef struct 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # guint prop_id; 956s # GValue orig_value; /* the value before the change */ 956s # } ChangedProperty; 956s # 956s # static void 956s # _changed_property_free (ChangedProperty *data) 956s # { 956s # g_value_unset (&data->orig_value); 956s # g_free (data); 956s # } 956s # 956s # static gboolean 956s # _g_strv_equal0 (gchar **a, gchar **b) 956s # { 956s # gboolean ret = FALSE; 956s # guint n; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # if (g_strv_length (a) != g_strv_length (b)) 956s # goto out; 956s # for (n = 0; a[n] != NULL; n++) 956s # if (g_strcmp0 (a[n], b[n]) != 0) 956s # goto out; 956s # ret = TRUE; 956s # out: 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _g_variant_equal0 (GVariant *a, GVariant *b) 956s # { 956s # gboolean ret = FALSE; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # ret = g_variant_equal (a, b); 956s # out: 956s # return ret; 956s # } 956s # 956s # G_GNUC_UNUSED static gboolean 956s # _g_value_equal (const GValue *a, const GValue *b) 956s # { 956s # gboolean ret = FALSE; 956s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 956s # switch (G_VALUE_TYPE (a)) 956s # { 956s # case G_TYPE_BOOLEAN: 956s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 956s # break; 956s # case G_TYPE_UCHAR: 956s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 956s # break; 956s # case G_TYPE_INT: 956s # ret = (g_value_get_int (a) == g_value_get_int (b)); 956s # break; 956s # case G_TYPE_UINT: 956s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 956s # break; 956s # case G_TYPE_INT64: 956s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 956s # break; 956s # case G_TYPE_UINT64: 956s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 956s # break; 956s # case G_TYPE_DOUBLE: 956s # { 956s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 956s # gdouble da = g_value_get_double (a); 956s # gdouble db = g_value_get_double (b); 956s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 956s # } 956s # break; 956s # case G_TYPE_STRING: 956s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 956s # break; 956s # case G_TYPE_VARIANT: 956s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 956s # break; 956s # default: 956s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 956s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 956s # else 956s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 956s # break; 956s # } 956s # return ret; 956s # } 956s # 956s # /* ------------------------------------------------------------------------ 956s # * Code for interface GoodTypes 956s # * ------------------------------------------------------------------------ 956s # */ 956s # 956s # /** 956s # * SECTION:GoodTypes 956s # * @title: GoodTypes 956s # * @short_description: Generated C code for the GoodTypes D-Bus interface 956s # * 956s # * This section contains code for working with the GoodTypes D-Bus interface in C. 956s # */ 956s # 956s # /* ---- Introspection data for GoodTypes ---- */ 956s # 956s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 956s # { 956s # { 956s # -1, 956s # (gchar *) "GoodPropertyType", 956s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 956s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 956s # NULL 956s # }, 956s # "good-property-type", 956s # FALSE, 956s # TRUE 956s # }; 956s # 956s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 956s # { 956s # &_good_types_property_info_good_property_type.parent_struct, 956s # NULL 956s # }; 956s # 956s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 956s # { 956s # { 956s # -1, 956s # (gchar *) "GoodTypes", 956s # NULL, 956s # NULL, 956s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 956s # NULL 956s # }, 956s # "good-types", 956s # }; 956s # 956s # 956s # /** 956s # * good_types_interface_info: 956s # * 956s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 956s # * 956s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 956s # */ 956s # GDBusInterfaceInfo * 956s # good_types_interface_info (void) 956s # { 956s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 956s # } 956s # 956s # /** 956s # * good_types_override_properties: 956s # * @klass: The class structure for a #GObject derived class. 956s # * @property_id_begin: The property id to assign to the first overridden property. 956s # * 956s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 956s # * The properties are overridden in the order they are defined. 956s # * 956s # * Returns: The last property id. 956s # */ 956s # guint 956s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 956s # { 956s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 956s # return property_id_begin - 1; 956s # } 956s # 956s # 956s # 956s # /** 956s # * GoodTypes: 956s # * 956s # * Abstract interface type for the D-Bus interface GoodTypes. 956s # */ 956s # 956s # /** 956s # * GoodTypesIface: 956s # * @parent_iface: The parent interface. 956s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 956s # * 956s # * Virtual table for the D-Bus interface GoodTypes. 956s # */ 956s # 956s # typedef GoodTypesIface GoodTypesInterface; 956s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 956s # 956s # static void 956s # good_types_default_init (GoodTypesIface *iface) 956s # { 956s # /* GObject properties for D-Bus properties: */ 956s # /** 956s # * GoodTypes:good-property-type: 956s # * 956s # * Represents the D-Bus property "GoodPropertyType". 956s # * 956s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 956s # */ 956s # g_object_interface_install_property (iface, 956s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 956s # } 956s # 956s # /** 956s # * good_types_get_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * 956s # * Gets the value of the "GoodPropertyType" D-Bus property. 956s # * 956s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 956s # * 956s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 956s # * 956s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 956s # */ 956s # GVariant * 956s # good_types_get_good_property_type (GoodTypes *object) 956s # { 956s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 956s # 956s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 956s # } 956s # 956s # /** 956s # * good_types_dup_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * 956s # * Gets a copy of the "GoodPropertyType" D-Bus property. 956s # * 956s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 956s # * 956s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 956s # */ 956s # GVariant * 956s # good_types_dup_good_property_type (GoodTypes *object) 956s # { 956s # GVariant *value; 956s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 956s # return value; 956s # } 956s # 956s # /** 956s # * good_types_set_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * @value: The value to set. 956s # * 956s # * Sets the "GoodPropertyType" D-Bus property to @value. 956s # * 956s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 956s # */ 956s # void 956s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 956s # { 956s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * GoodTypesProxy: 956s # * 956s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * GoodTypesProxyClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for GoodTypesProxy. 956s # */ 956s # 956s # struct _GoodTypesProxyPrivate 956s # { 956s # GData *qdata; 956s # }; 956s # 956s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 956s # G_ADD_PRIVATE (GoodTypesProxy) 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 956s # 956s # #endif 956s # static void 956s # good_types_proxy_finalize (GObject *object) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 956s # g_datalist_clear (&proxy->priv->qdata); 956s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # good_types_proxy_get_property (GObject *object, 956s # guint prop_id, 956s # GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GVariant *variant; 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 956s # if (info->use_gvariant) 956s # { 956s # g_value_set_variant (value, variant); 956s # } 956s # else 956s # { 956s # if (variant != NULL) 956s # g_dbus_gvariant_to_gvalue (variant, value); 956s # } 956s # if (variant != NULL) 956s # g_variant_unref (variant); 956s # } 956s # 956s # static void 956s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 956s # GAsyncResult *res, 956s # gpointer user_data) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info = user_data; 956s # GError *error; 956s # GVariant *_ret; 956s # error = NULL; 956s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 956s # if (!_ret) 956s # { 956s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 956s # info->parent_struct.name, 956s # error->message, g_quark_to_string (error->domain), error->code); 956s # g_error_free (error); 956s # } 956s # else 956s # { 956s # g_variant_unref (_ret); 956s # } 956s # } 956s # 956s # static void 956s # good_types_proxy_set_property (GObject *object, 956s # guint prop_id, 956s # const GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GVariant *variant; 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_dbus_proxy_call (G_DBUS_PROXY (object), 956s # "org.freedesktop.DBus.Properties.Set", 956s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 956s # g_variant_unref (variant); 956s # } 956s # 956s # static void 956s # good_types_proxy_g_signal (GDBusProxy *proxy, 956s # const gchar *sender_name G_GNUC_UNUSED, 956s # const gchar *signal_name, 956s # GVariant *parameters) 956s # { 956s # _ExtendedGDBusSignalInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # gsize n; 956s # guint signal_id; 956s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 956s # if (info == NULL) 956s # return; 956s # num_params = g_variant_n_children (parameters); 956s # paramv = g_new0 (GValue, num_params + 1); 956s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 956s # g_value_set_object (¶mv[0], proxy); 956s # g_variant_iter_init (&iter, parameters); 956s # n = 1; 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 956s # g_signal_emitv (paramv, signal_id, 0, NULL); 956s # for (n = 0; n < num_params + 1; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static void 956s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 956s # GVariant *changed_properties, 956s # const gchar *const *invalidated_properties) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 956s # guint n; 956s # const gchar *key; 956s # GVariantIter *iter; 956s # _ExtendedGDBusPropertyInfo *info; 956s # g_variant_get (changed_properties, "a{sv}", &iter); 956s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 956s # g_datalist_remove_data (&proxy->priv->qdata, key); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # g_variant_iter_free (iter); 956s # for (n = 0; invalidated_properties[n] != NULL; n++) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 956s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # } 956s # 956s # static GVariant * 956s # good_types_proxy_get_good_property_type (GoodTypes *object) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 956s # GVariant *variant; 956s # GVariant *value = NULL; 956s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 956s # value = variant; 956s # if (variant != NULL) 956s # g_variant_unref (variant); 956s # return value; 956s # } 956s # 956s # static void 956s # good_types_proxy_init (GoodTypesProxy *proxy) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # proxy->priv = good_types_proxy_get_instance_private (proxy); 956s # #else 956s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 956s # #endif 956s # 956s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 956s # } 956s # 956s # static void 956s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusProxyClass *proxy_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = good_types_proxy_finalize; 956s # gobject_class->get_property = good_types_proxy_get_property; 956s # gobject_class->set_property = good_types_proxy_set_property; 956s # 956s # proxy_class = G_DBUS_PROXY_CLASS (klass); 956s # proxy_class->g_signal = good_types_proxy_g_signal; 956s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 956s # 956s # good_types_override_properties (gobject_class, 1); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # good_types_proxy_iface_init (GoodTypesIface *iface) 956s # { 956s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 956s # * 956s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # good_types_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with good_types_proxy_new(). 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_sync: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See good_types_proxy_new() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /** 956s # * good_types_proxy_new_for_bus: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 956s # * 956s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # good_types_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_for_bus_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with good_types_proxy_new_for_bus(). 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_for_bus_sync: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * GoodTypesSkeleton: 956s # * 956s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * GoodTypesSkeletonClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for GoodTypesSkeleton. 956s # */ 956s # 956s # struct _GoodTypesSkeletonPrivate 956s # { 956s # GValue *properties; 956s # GList *changed_properties; 956s # GSource *changed_properties_idle_source; 956s # GMainContext *context; 956s # GMutex lock; 956s # }; 956s # 956s # static void 956s # _good_types_skeleton_handle_method_call ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name, 956s # const gchar *method_name, 956s # GVariant *parameters, 956s # GDBusMethodInvocation *invocation, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # _ExtendedGDBusMethodInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # guint num_extra; 956s # gsize n; 956s # guint signal_id; 956s # GValue return_value = G_VALUE_INIT; 956s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 956s # g_assert (info != NULL); 956s # num_params = g_variant_n_children (parameters); 956s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 956s # n = 0; 956s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 956s # g_value_set_object (¶mv[n++], skeleton); 956s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 956s # g_value_set_object (¶mv[n++], invocation); 956s # if (info->pass_fdlist) 956s # { 956s # #ifdef G_OS_UNIX 956s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 956s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 956s # #else 956s # g_assert_not_reached (); 956s # #endif 956s # } 956s # g_variant_iter_init (&iter, parameters); 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 956s # g_value_init (&return_value, G_TYPE_BOOLEAN); 956s # g_signal_emitv (paramv, signal_id, 0, &return_value); 956s # if (!g_value_get_boolean (&return_value)) 956s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 956s # g_value_unset (&return_value); 956s # for (n = 0; n < num_params + num_extra; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static GVariant * 956s # _good_types_skeleton_handle_get_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # GVariant *ret; 956s # ret = NULL; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # g_value_init (&value, pspec->value_type); 956s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_value_unset (&value); 956s # } 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _good_types_skeleton_handle_set_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GVariant *variant, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # gboolean ret; 956s # ret = FALSE; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # if (info->use_gvariant) 956s # g_value_set_variant (&value, variant); 956s # else 956s # g_dbus_gvariant_to_gvalue (variant, &value); 956s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # g_value_unset (&value); 956s # ret = TRUE; 956s # } 956s # return ret; 956s # } 956s # 956s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 956s # { 956s # _good_types_skeleton_handle_method_call, 956s # _good_types_skeleton_handle_get_property, 956s # _good_types_skeleton_handle_set_property, 956s # {NULL} 956s # }; 956s # 956s # static GDBusInterfaceInfo * 956s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return good_types_interface_info (); 956s # } 956s # 956s # static GDBusInterfaceVTable * 956s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 956s # } 956s # 956s # static GVariant * 956s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 956s # 956s # GVariantBuilder builder; 956s # guint n; 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # if (_good_types_interface_info.parent_struct.properties == NULL) 956s # goto out; 956s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 956s # { 956s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 956s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 956s # { 956s # GVariant *value; 956s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 956s # if (value != NULL) 956s # { 956s # g_variant_take_ref (value); 956s # g_variant_builder_add (&builder, "{sv}", info->name, value); 956s # g_variant_unref (value); 956s # } 956s # } 956s # } 956s # out: 956s # return g_variant_builder_end (&builder); 956s # } 956s # 956s # static gboolean _good_types_emit_changed (gpointer user_data); 956s # 956s # static void 956s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 956s # gboolean emit_changed = FALSE; 956s # 956s # g_mutex_lock (&skeleton->priv->lock); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # { 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # skeleton->priv->changed_properties_idle_source = NULL; 956s # emit_changed = TRUE; 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # 956s # if (emit_changed) 956s # _good_types_emit_changed (skeleton); 956s # } 956s # 956s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_ADD_PRIVATE (GoodTypesSkeleton) 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 956s # 956s # #endif 956s # static void 956s # good_types_skeleton_finalize (GObject *object) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # guint n; 956s # for (n = 0; n < 1; n++) 956s # g_value_unset (&skeleton->priv->properties[n]); 956s # g_free (skeleton->priv->properties); 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # g_main_context_unref (skeleton->priv->context); 956s # g_mutex_clear (&skeleton->priv->lock); 956s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # good_types_skeleton_get_property (GObject *object, 956s # guint prop_id, 956s # GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # } 956s # 956s # static gboolean 956s # _good_types_emit_changed (gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GList *l; 956s # GVariantBuilder builder; 956s # GVariantBuilder invalidated_builder; 956s # guint num_changes; 956s # 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 956s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 956s # { 956s # ChangedProperty *cp = l->data; 956s # GVariant *variant; 956s # const GValue *cur_value; 956s # 956s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 956s # if (!_g_value_equal (cur_value, &cp->orig_value)) 956s # { 956s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 956s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 956s # g_variant_unref (variant); 956s # num_changes++; 956s # } 956s # } 956s # if (num_changes > 0) 956s # { 956s # GList *connections, *ll; 956s # GVariant *signal_variant; 956s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 956s # &builder, &invalidated_builder)); 956s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 956s # for (ll = connections; ll != NULL; ll = ll->next) 956s # { 956s # GDBusConnection *connection = ll->data; 956s # 956s # g_dbus_connection_emit_signal (connection, 956s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 956s # "org.freedesktop.DBus.Properties", 956s # "PropertiesChanged", 956s # signal_variant, 956s # NULL); 956s # } 956s # g_variant_unref (signal_variant); 956s # g_list_free_full (connections, g_object_unref); 956s # } 956s # else 956s # { 956s # g_variant_builder_clear (&builder); 956s # g_variant_builder_clear (&invalidated_builder); 956s # } 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # skeleton->priv->changed_properties = NULL; 956s # skeleton->priv->changed_properties_idle_source = NULL; 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # return FALSE; 956s # } 956s # 956s # static void 956s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 956s # { 956s # ChangedProperty *cp; 956s # GList *l; 956s # cp = NULL; 956s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 956s # { 956s # ChangedProperty *i_cp = l->data; 956s # if (i_cp->info == info) 956s # { 956s # cp = i_cp; 956s # break; 956s # } 956s # } 956s # if (cp == NULL) 956s # { 956s # cp = g_new0 (ChangedProperty, 1); 956s # cp->prop_id = prop_id; 956s # cp->info = info; 956s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 956s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 956s # g_value_copy (orig_value, &cp->orig_value); 956s # } 956s # } 956s # 956s # static void 956s # good_types_skeleton_notify (GObject *object, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_mutex_lock (&skeleton->priv->lock); 956s # if (skeleton->priv->changed_properties != NULL && 956s # skeleton->priv->changed_properties_idle_source == NULL) 956s # { 956s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 956s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 956s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 956s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 956s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 956s # g_source_unref (skeleton->priv->changed_properties_idle_source); 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # } 956s # 956s # static void 956s # good_types_skeleton_set_property (GObject *object, 956s # guint prop_id, 956s # const GValue *value, 956s # GParamSpec *pspec) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_object_freeze_notify (object); 956s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 956s # { 956s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 956s # info->emits_changed_signal) 956s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 956s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 956s # g_object_notify_by_pspec (object, pspec); 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # g_object_thaw_notify (object); 956s # } 956s # 956s # static void 956s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 956s # #else 956s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 956s # #endif 956s # 956s # g_mutex_init (&skeleton->priv->lock); 956s # skeleton->priv->context = g_main_context_ref_thread_default (); 956s # skeleton->priv->properties = g_new0 (GValue, 1); 956s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 956s # } 956s # 956s # static GVariant * 956s # good_types_skeleton_get_good_property_type (GoodTypes *object) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # GVariant *value; 956s # g_mutex_lock (&skeleton->priv->lock); 956s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # return value; 956s # } 956s # 956s # static void 956s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusInterfaceSkeletonClass *skeleton_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = good_types_skeleton_finalize; 956s # gobject_class->get_property = good_types_skeleton_get_property; 956s # gobject_class->set_property = good_types_skeleton_set_property; 956s # gobject_class->notify = good_types_skeleton_notify; 956s # 956s # 956s # good_types_override_properties (gobject_class, 1); 956s # 956s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 956s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 956s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 956s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 956s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # good_types_skeleton_iface_init (GoodTypesIface *iface) 956s # { 956s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 956s # } 956s # 956s # /** 956s # * good_types_skeleton_new: 956s # * 956s # * Creates a skeleton object for the D-Bus interface GoodTypes. 956s # * 956s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 956s # */ 956s # GoodTypes * 956s # good_types_skeleton_new (void) 956s # { 956s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 956s # } 956s # /tmp/tmpkotwnan5/tmp1f8mbtyx.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmp1f8mbtyx.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifdef HAVE_CONFIG_H 956s # # include "config.h" 956s # #endif 956s # 956s # #include 956s # #ifdef G_OS_UNIX 956s # # include 956s # #endif 956s # 956s # #ifdef G_ENABLE_DEBUG 956s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 956s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 956s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 956s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 956s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 956s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 956s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 956s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 956s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 956s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 956s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 956s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 956s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 956s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 956s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 956s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 956s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 956s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 956s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 956s # #else /* !G_ENABLE_DEBUG */ 956s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 956s # * Do not access GValues directly in your code. Instead, use the 956s # * g_value_get_*() functions 956s # */ 956s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 956s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 956s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 956s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 956s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 956s # #endif /* !G_ENABLE_DEBUG */ 956s # 956s # typedef struct 956s # { 956s # GDBusArgInfo parent_struct; 956s # gboolean use_gvariant; 956s # } _ExtendedGDBusArgInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusMethodInfo parent_struct; 956s # const gchar *signal_name; 956s # gboolean pass_fdlist; 956s # } _ExtendedGDBusMethodInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusSignalInfo parent_struct; 956s # const gchar *signal_name; 956s # } _ExtendedGDBusSignalInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusPropertyInfo parent_struct; 956s # const gchar *hyphen_name; 956s # guint use_gvariant : 1; 956s # guint emits_changed_signal : 1; 956s # } _ExtendedGDBusPropertyInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusInterfaceInfo parent_struct; 956s # const gchar *hyphen_name; 956s # } _ExtendedGDBusInterfaceInfo; 956s # 956s # typedef struct 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # guint prop_id; 956s # GValue orig_value; /* the value before the change */ 956s # } ChangedProperty; 956s # 956s # static void 956s # _changed_property_free (ChangedProperty *data) 956s # { 956s # g_value_unset (&data->orig_value); 956s # g_free (data); 956s # } 956s # 956s # static gboolean 956s # _g_strv_equal0 (gchar **a, gchar **b) 956s # { 956s # gboolean ret = FALSE; 956s # guint n; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # if (g_strv_length (a) != g_strv_length (b)) 956s # goto out; 956s # for (n = 0; a[n] != NULL; n++) 956s # if (g_strcmp0 (a[n], b[n]) != 0) 956s # goto out; 956s # ret = TRUE; 956s # out: 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _g_variant_equal0 (GVariant *a, GVariant *b) 956s # { 956s # gboolean ret = FALSE; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # ret = g_variant_equal (a, b); 956s # out: 956s # return ret; 956s # } 956s # 956s # G_GNUC_UNUSED static gboolean 956s # _g_value_equal (const GValue *a, const GValue *b) 956s # { 956s # gboolean ret = FALSE; 956s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 956s # switch (G_VALUE_TYPE (a)) 956s # { 956s # case G_TYPE_BOOLEAN: 956s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 956s # break; 956s # case G_TYPE_UCHAR: 956s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 956s # break; 956s # case G_TYPE_INT: 956s # ret = (g_value_get_int (a) == g_value_get_int (b)); 956s # break; 956s # case G_TYPE_UINT: 956s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 956s # break; 956s # case G_TYPE_INT64: 956s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 956s # break; 956s # case G_TYPE_UINT64: 956s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 956s # break; 956s # case G_TYPE_DOUBLE: 956s # { 956s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 956s # gdouble da = g_value_get_double (a); 956s # gdouble db = g_value_get_double (b); 956s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 956s # } 956s # break; 956s # case G_TYPE_STRING: 956s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 956s # break; 956s # case G_TYPE_VARIANT: 956s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 956s # break; 956s # default: 956s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 956s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 956s # else 956s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 956s # break; 956s # } 956s # return ret; 956s # } 956s # 956s # /* ------------------------------------------------------------------------ 956s # * Code for interface GoodTypes 956s # * ------------------------------------------------------------------------ 956s # */ 956s # 956s # /** 956s # * SECTION:GoodTypes 956s # * @title: GoodTypes 956s # * @short_description: Generated C code for the GoodTypes D-Bus interface 956s # * 956s # * This section contains code for working with the GoodTypes D-Bus interface in C. 956s # */ 956s # 956s # /* ---- Introspection data for GoodTypes ---- */ 956s # 956s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 956s # { 956s # { 956s # -1, 956s # (gchar *) "GoodPropertyType", 956s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 956s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 956s # NULL 956s # }, 956s # "good-property-type", 956s # FALSE, 956s # TRUE 956s # }; 956s # 956s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 956s # { 956s # &_good_types_property_info_good_property_type.parent_struct, 956s # NULL 956s # }; 956s # 956s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 956s # { 956s # { 956s # -1, 956s # (gchar *) "GoodTypes", 956s # NULL, 956s # NULL, 956s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 956s # NULL 956s # }, 956s # "good-types", 956s # }; 956s # 956s # 956s # /** 956s # * good_types_interface_info: 956s # * 956s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 956s # * 956s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 956s # */ 956s # GDBusInterfaceInfo * 956s # good_types_interface_info (void) 956s # { 956s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 956s # } 956s # 956s # /** 956s # * good_types_override_properties: 956s # * @klass: The class structure for a #GObject derived class. 956s # * @property_id_begin: The property id to assign to the first overridden property. 956s # * 956s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 956s # * The properties are overridden in the order they are defined. 956s # * 956s # * Returns: The last property id. 956s # */ 956s # guint 956s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 956s # { 956s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 956s # return property_id_begin - 1; 956s # } 956s # 956s # 956s # 956s # /** 956s # * GoodTypes: 956s # * 956s # * Abstract interface type for the D-Bus interface GoodTypes. 956s # */ 956s # 956s # /** 956s # * GoodTypesIface: 956s # * @parent_iface: The parent interface. 956s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 956s # * 956s # * Virtual table for the D-Bus interface GoodTypes. 956s # */ 956s # 956s # typedef GoodTypesIface GoodTypesInterface; 956s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 956s # 956s # static void 956s # good_types_default_init (GoodTypesIface *iface) 956s # { 956s # /* GObject properties for D-Bus properties: */ 956s # /** 956s # * GoodTypes:good-property-type: 956s # * 956s # * Represents the D-Bus property "GoodPropertyType". 956s # * 956s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 956s # */ 956s # g_object_interface_install_property (iface, 956s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 956s # } 956s # 956s # /** 956s # * good_types_get_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * 956s # * Gets the value of the "GoodPropertyType" D-Bus property. 956s # * 956s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 956s # * 956s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 956s # * 956s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 956s # */ 956s # GVariant * 956s # good_types_get_good_property_type (GoodTypes *object) 956s # { 956s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 956s # 956s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 956s # } 956s # 956s # /** 956s # * good_types_dup_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * 956s # * Gets a copy of the "GoodPropertyType" D-Bus property. 956s # * 956s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 956s # * 956s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 956s # */ 956s # GVariant * 956s # good_types_dup_good_property_type (GoodTypes *object) 956s # { 956s # GVariant *value; 956s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 956s # return value; 956s # } 956s # 956s # /** 956s # * good_types_set_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * @value: The value to set. 956s # * 956s # * Sets the "GoodPropertyType" D-Bus property to @value. 956s # * 956s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 956s # */ 956s # void 956s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 956s # { 956s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * GoodTypesProxy: 956s # * 956s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * GoodTypesProxyClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for GoodTypesProxy. 956s # */ 956s # 956s # struct _GoodTypesProxyPrivate 956s # { 956s # GData *qdata; 956s # }; 956s # 956s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 956s # G_ADD_PRIVATE (GoodTypesProxy) 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 956s # 956s # #endif 956s # static void 956s # good_types_proxy_finalize (GObject *object) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 956s # g_datalist_clear (&proxy->priv->qdata); 956s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # good_types_proxy_get_property (GObject *object, 956s # guint prop_id, 956s # GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GVariant *variant; 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 956s # if (info->use_gvariant) 956s # { 956s # g_value_set_variant (value, variant); 956s # } 956s # else 956s # { 956s # if (variant != NULL) 956s # g_dbus_gvariant_to_gvalue (variant, value); 956s # } 956s # if (variant != NULL) 956s # g_variant_unref (variant); 956s # } 956s # 956s # static void 956s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 956s # GAsyncResult *res, 956s # gpointer user_data) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info = user_data; 956s # GError *error; 956s # GVariant *_ret; 956s # error = NULL; 956s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 956s # if (!_ret) 956s # { 956s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 956s # info->parent_struct.name, 956s # error->message, g_quark_to_string (error->domain), error->code); 956s # g_error_free (error); 956s # } 956s # else 956s # { 956s # g_variant_unref (_ret); 956s # } 956s # } 956s # 956s # static void 956s # good_types_proxy_set_property (GObject *object, 956s # guint prop_id, 956s # const GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GVariant *variant; 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_dbus_proxy_call (G_DBUS_PROXY (object), 956s # "org.freedesktop.DBus.Properties.Set", 956s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 956s # g_variant_unref (variant); 956s # } 956s # 956s # static void 956s # good_types_proxy_g_signal (GDBusProxy *proxy, 956s # const gchar *sender_name G_GNUC_UNUSED, 956s # const gchar *signal_name, 956s # GVariant *parameters) 956s # { 956s # _ExtendedGDBusSignalInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # gsize n; 956s # guint signal_id; 956s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 956s # if (info == NULL) 956s # return; 956s # num_params = g_variant_n_children (parameters); 956s # paramv = g_new0 (GValue, num_params + 1); 956s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 956s # g_value_set_object (¶mv[0], proxy); 956s # g_variant_iter_init (&iter, parameters); 956s # n = 1; 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 956s # g_signal_emitv (paramv, signal_id, 0, NULL); 956s # for (n = 0; n < num_params + 1; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static void 956s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 956s # GVariant *changed_properties, 956s # const gchar *const *invalidated_properties) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 956s # guint n; 956s # const gchar *key; 956s # GVariantIter *iter; 956s # _ExtendedGDBusPropertyInfo *info; 956s # g_variant_get (changed_properties, "a{sv}", &iter); 956s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 956s # g_datalist_remove_data (&proxy->priv->qdata, key); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # g_variant_iter_free (iter); 956s # for (n = 0; invalidated_properties[n] != NULL; n++) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 956s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # } 956s # 956s # static GVariant * 956s # good_types_proxy_get_good_property_type (GoodTypes *object) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 956s # GVariant *variant; 956s # GVariant *value = NULL; 956s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 956s # value = variant; 956s # if (variant != NULL) 956s # g_variant_unref (variant); 956s # return value; 956s # } 956s # 956s # static void 956s # good_types_proxy_init (GoodTypesProxy *proxy) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # proxy->priv = good_types_proxy_get_instance_private (proxy); 956s # #else 956s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 956s # #endif 956s # 956s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 956s # } 956s # 956s # static void 956s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusProxyClass *proxy_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = good_types_proxy_finalize; 956s # gobject_class->get_property = good_types_proxy_get_property; 956s # gobject_class->set_property = good_types_proxy_set_property; 956s # 956s # proxy_class = G_DBUS_PROXY_CLASS (klass); 956s # proxy_class->g_signal = good_types_proxy_g_signal; 956s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 956s # 956s # good_types_override_properties (gobject_class, 1); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # good_types_proxy_iface_init (GoodTypesIface *iface) 956s # { 956s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 956s # * 956s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # good_types_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with good_types_proxy_new(). 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_sync: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See good_types_proxy_new() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /** 956s # * good_types_proxy_new_for_bus: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 956s # * 956s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # good_types_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_for_bus_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with good_types_proxy_new_for_bus(). 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_for_bus_sync: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * GoodTypesSkeleton: 956s # * 956s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * GoodTypesSkeletonClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for GoodTypesSkeleton. 956s # */ 956s # 956s # struct _GoodTypesSkeletonPrivate 956s # { 956s # GValue *properties; 956s # GList *changed_properties; 956s # GSource *changed_properties_idle_source; 956s # GMainContext *context; 956s # GMutex lock; 956s # }; 956s # 956s # static void 956s # _good_types_skeleton_handle_method_call ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name, 956s # const gchar *method_name, 956s # GVariant *parameters, 956s # GDBusMethodInvocation *invocation, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # _ExtendedGDBusMethodInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # guint num_extra; 956s # gsize n; 956s # guint signal_id; 956s # GValue return_value = G_VALUE_INIT; 956s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 956s # g_assert (info != NULL); 956s # num_params = g_variant_n_children (parameters); 956s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 956s # n = 0; 956s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 956s # g_value_set_object (¶mv[n++], skeleton); 956s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 956s # g_value_set_object (¶mv[n++], invocation); 956s # if (info->pass_fdlist) 956s # { 956s # #ifdef G_OS_UNIX 956s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 956s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 956s # #else 956s # g_assert_not_reached (); 956s # #endif 956s # } 956s # g_variant_iter_init (&iter, parameters); 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 956s # g_value_init (&return_value, G_TYPE_BOOLEAN); 956s # g_signal_emitv (paramv, signal_id, 0, &return_value); 956s # if (!g_value_get_boolean (&return_value)) 956s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 956s # g_value_unset (&return_value); 956s # for (n = 0; n < num_params + num_extra; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static GVariant * 956s # _good_types_skeleton_handle_get_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # GVariant *ret; 956s # ret = NULL; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # g_value_init (&value, pspec->value_type); 956s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_value_unset (&value); 956s # } 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _good_types_skeleton_handle_set_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GVariant *variant, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # gboolean ret; 956s # ret = FALSE; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # if (info->use_gvariant) 956s # g_value_set_variant (&value, variant); 956s # else 956s # g_dbus_gvariant_to_gvalue (variant, &value); 956s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # g_value_unset (&value); 956s # ret = TRUE; 956s # } 956s # return ret; 956s # } 956s # 956s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 956s # { 956s # _good_types_skeleton_handle_method_call, 956s # _good_types_skeleton_handle_get_property, 956s # _good_types_skeleton_handle_set_property, 956s # {NULL} 956s # }; 956s # 956s # static GDBusInterfaceInfo * 956s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return good_types_interface_info (); 956s # } 956s # 956s # static GDBusInterfaceVTable * 956s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 956s # } 956s # 956s # static GVariant * 956s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 956s # 956s # GVariantBuilder builder; 956s # guint n; 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # if (_good_types_interface_info.parent_struct.properties == NULL) 956s # goto out; 956s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 956s # { 956s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 956s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 956s # { 956s # GVariant *value; 956s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 956s # if (value != NULL) 956s # { 956s # g_variant_take_ref (value); 956s # g_variant_builder_add (&builder, "{sv}", info->name, value); 956s # g_variant_unref (value); 956s # } 956s # } 956s # } 956s # out: 956s # return g_variant_builder_end (&builder); 956s # } 956s # 956s # static gboolean _good_types_emit_changed (gpointer user_data); 956s # 956s # static void 956s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 956s # gboolean emit_changed = FALSE; 956s # 956s # g_mutex_lock (&skeleton->priv->lock); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # { 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # skeleton->priv->changed_properties_idle_source = NULL; 956s # emit_changed = TRUE; 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # 956s # if (emit_changed) 956s # _good_types_emit_changed (skeleton); 956s # } 956s # 956s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_ADD_PRIVATE (GoodTypesSkeleton) 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 956s # 956s # #endif 956s # static void 956s # good_types_skeleton_finalize (GObject *object) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # guint n; 956s # for (n = 0; n < 1; n++) 956s # g_value_unset (&skeleton->priv->properties[n]); 956s # g_free (skeleton->priv->properties); 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # g_main_context_unref (skeleton->priv->context); 956s # g_mutex_clear (&skeleton->priv->lock); 956s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # good_types_skeleton_get_property (GObject *object, 956s # guint prop_id, 956s # GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # } 956s # 956s # static gboolean 956s # _good_types_emit_changed (gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GList *l; 956s # GVariantBuilder builder; 956s # GVariantBuilder invalidated_builder; 956s # guint num_changes; 956s # 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 956s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 956s # { 956s # ChangedProperty *cp = l->data; 956s # GVariant *variant; 956s # const GValue *cur_value; 956s # 956s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 956s # if (!_g_value_equal (cur_value, &cp->orig_value)) 956s # { 956s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 956s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 956s # g_variant_unref (variant); 956s # num_changes++; 956s # } 956s # } 956s # if (num_changes > 0) 956s # { 956s # GList *connections, *ll; 956s # GVariant *signal_variant; 956s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 956s # &builder, &invalidated_builder)); 956s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 956s # for (ll = connections; ll != NULL; ll = ll->next) 956s # { 956s # GDBusConnection *connection = ll->data; 956s # 956s # g_dbus_connection_emit_signal (connection, 956s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 956s # "org.freedesktop.DBus.Properties", 956s # "PropertiesChanged", 956s # signal_variant, 956s # NULL); 956s # } 956s # g_variant_unref (signal_variant); 956s # g_list_free_full (connections, g_object_unref); 956s # } 956s # else 956s # { 956s # g_variant_builder_clear (&builder); 956s # g_variant_builder_clear (&invalidated_builder); 956s # } 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # skeleton->priv->changed_properties = NULL; 956s # skeleton->priv->changed_properties_idle_source = NULL; 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # return FALSE; 956s # } 956s # 956s # static void 956s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 956s # { 956s # ChangedProperty *cp; 956s # GList *l; 956s # cp = NULL; 956s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 956s # { 956s # ChangedProperty *i_cp = l->data; 956s # if (i_cp->info == info) 956s # { 956s # cp = i_cp; 956s # break; 956s # } 956s # } 956s # if (cp == NULL) 956s # { 956s # cp = g_new0 (ChangedProperty, 1); 956s # cp->prop_id = prop_id; 956s # cp->info = info; 956s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 956s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 956s # g_value_copy (orig_value, &cp->orig_value); 956s # } 956s # } 956s # 956s # static void 956s # good_types_skeleton_notify (GObject *object, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_mutex_lock (&skeleton->priv->lock); 956s # if (skeleton->priv->changed_properties != NULL && 956s # skeleton->priv->changed_properties_idle_source == NULL) 956s # { 956s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 956s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 956s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 956s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 956s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 956s # g_source_unref (skeleton->priv->changed_properties_idle_source); 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # } 956s # 956s # static void 956s # good_types_skeleton_set_property (GObject *object, 956s # guint prop_id, 956s # const GValue *value, 956s # GParamSpec *pspec) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_object_freeze_notify (object); 956s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 956s # { 956s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 956s # info->emits_changed_signal) 956s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 956s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 956s # g_object_notify_by_pspec (object, pspec); 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # g_object_thaw_notify (object); 956s # } 956s # 956s # static void 956s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 956s # #else 956s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 956s # #endif 956s # 956s # g_mutex_init (&skeleton->priv->lock); 956s # skeleton->priv->context = g_main_context_ref_thread_default (); 956s # skeleton->priv->properties = g_new0 (GValue, 1); 956s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 956s # } 956s # 956s # static GVariant * 956s # good_types_skeleton_get_good_property_type (GoodTypes *object) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # GVariant *value; 956s # g_mutex_lock (&skeleton->priv->lock); 956s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # return value; 956s # } 956s # 956s # static void 956s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusInterfaceSkeletonClass *skeleton_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = good_types_skeleton_finalize; 956s # gobject_class->get_property = good_types_skeleton_get_property; 956s # gobject_class->set_property = good_types_skeleton_set_property; 956s # gobject_class->notify = good_types_skeleton_notify; 956s # 956s # 956s # good_types_override_properties (gobject_class, 1); 956s # 956s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 956s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 956s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 956s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 956s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # good_types_skeleton_iface_init (GoodTypesIface *iface) 956s # { 956s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 956s # } 956s # 956s # /** 956s # * good_types_skeleton_new: 956s # * 956s # * Creates a skeleton object for the D-Bus interface GoodTypes. 956s # * 956s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 956s # */ 956s # GoodTypes * 956s # good_types_skeleton_new (void) 956s # { 956s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 956s # } 956s # /tmp/tmpkotwnan5/tmpw2ylffzz.xml: 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkotwnan5/tmpw2ylffzz.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifdef HAVE_CONFIG_H 956s # # include "config.h" 956s # #endif 956s # 956s # #include 956s # #ifdef G_OS_UNIX 956s # # include 956s # #endif 956s # 956s # #ifdef G_ENABLE_DEBUG 956s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 956s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 956s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 956s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 956s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 956s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 956s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 956s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 956s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 956s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 956s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 956s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 956s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 956s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 956s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 956s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 956s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 956s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 956s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 956s # #else /* !G_ENABLE_DEBUG */ 956s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 956s # * Do not access GValues directly in your code. Instead, use the 956s # * g_value_get_*() functions 956s # */ 956s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 956s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 956s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 956s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 956s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 956s # #endif /* !G_ENABLE_DEBUG */ 956s # 956s # typedef struct 956s # { 956s # GDBusArgInfo parent_struct; 956s # gboolean use_gvariant; 956s # } _ExtendedGDBusArgInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusMethodInfo parent_struct; 956s # const gchar *signal_name; 956s # gboolean pass_fdlist; 956s # } _ExtendedGDBusMethodInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusSignalInfo parent_struct; 956s # const gchar *signal_name; 956s # } _ExtendedGDBusSignalInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusPropertyInfo parent_struct; 956s # const gchar *hyphen_name; 956s # guint use_gvariant : 1; 956s # guint emits_changed_signal : 1; 956s # } _ExtendedGDBusPropertyInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusInterfaceInfo parent_struct; 956s # const gchar *hyphen_name; 956s # } _ExtendedGDBusInterfaceInfo; 956s # 956s # typedef struct 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # guint prop_id; 956s # GValue orig_value; /* the value before the change */ 956s # } ChangedProperty; 956s # 956s # static void 956s # _changed_property_free (ChangedProperty *data) 956s # { 956s # g_value_unset (&data->orig_value); 956s # g_free (data); 956s # } 956s # 956s # static gboolean 956s # _g_strv_equal0 (gchar **a, gchar **b) 956s # { 956s # gboolean ret = FALSE; 956s # guint n; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # if (g_strv_length (a) != g_strv_length (b)) 956s # goto out; 956s # for (n = 0; a[n] != NULL; n++) 956s # if (g_strcmp0 (a[n], b[n]) != 0) 956s # goto out; 956s # ret = TRUE; 956s # out: 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _g_variant_equal0 (GVariant *a, GVariant *b) 956s # { 956s # gboolean ret = FALSE; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # ret = g_variant_equal (a, b); 956s # out: 956s # return ret; 956s # } 956s # 956s # G_GNUC_UNUSED static gboolean 956s # _g_value_equal (const GValue *a, const GValue *b) 956s # { 956s # gboolean ret = FALSE; 956s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 956s # switch (G_VALUE_TYPE (a)) 956s # { 956s # case G_TYPE_BOOLEAN: 956s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 956s # break; 956s # case G_TYPE_UCHAR: 956s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 956s # break; 956s # case G_TYPE_INT: 956s # ret = (g_value_get_int (a) == g_value_get_int (b)); 956s # break; 956s # case G_TYPE_UINT: 956s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 956s # break; 956s # case G_TYPE_INT64: 956s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 956s # break; 956s # case G_TYPE_UINT64: 956s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 956s # break; 956s # case G_TYPE_DOUBLE: 956s # { 956s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 956s # gdouble da = g_value_get_double (a); 956s # gdouble db = g_value_get_double (b); 956s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 956s # } 956s # break; 956s # case G_TYPE_STRING: 956s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 956s # break; 956s # case G_TYPE_VARIANT: 956s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 956s # break; 956s # default: 956s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 956s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 956s # else 956s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 956s # break; 956s # } 956s # return ret; 956s # } 956s # 956s # /* ------------------------------------------------------------------------ 956s # * Code for interface GoodTypes 956s # * ------------------------------------------------------------------------ 956s # */ 956s # 956s # /** 956s # * SECTION:GoodTypes 956s # * @title: GoodTypes 956s # * @short_description: Generated C code for the GoodTypes D-Bus interface 956s # * 956s # * This section contains code for working with the GoodTypes D-Bus interface in C. 956s # */ 956s # 956s # /* ---- Introspection data for GoodTypes ---- */ 956s # 956s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 956s # { 956s # { 956s # -1, 956s # (gchar *) "GoodPropertyType", 956s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 956s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 956s # NULL 956s # }, 956s # "good-property-type", 956s # FALSE, 956s # TRUE 956s # }; 956s # 956s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 956s # { 956s # &_good_types_property_info_good_property_type.parent_struct, 956s # NULL 956s # }; 956s # 956s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 956s # { 956s # { 956s # -1, 956s # (gchar *) "GoodTypes", 956s # NULL, 956s # NULL, 956s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 956s # NULL 956s # }, 956s # "good-types", 956s # }; 956s # 956s # 956s # /** 956s # * good_types_interface_info: 956s # * 956s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 956s # * 956s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 956s # */ 956s # GDBusInterfaceInfo * 956s # good_types_interface_info (void) 956s # { 956s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 956s # } 956s # 956s # /** 956s # * good_types_override_properties: 956s # * @klass: The class structure for a #GObject derived class. 956s # * @property_id_begin: The property id to assign to the first overridden property. 956s # * 956s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 956s # * The properties are overridden in the order they are defined. 956s # * 956s # * Returns: The last property id. 956s # */ 956s # guint 956s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 956s # { 956s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 956s # return property_id_begin - 1; 956s # } 956s # 956s # 956s # 956s # /** 956s # * GoodTypes: 956s # * 956s # * Abstract interface type for the D-Bus interface GoodTypes. 956s # */ 956s # 956s # /** 956s # * GoodTypesIface: 956s # * @parent_iface: The parent interface. 956s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 956s # * 956s # * Virtual table for the D-Bus interface GoodTypes. 956s # */ 956s # 956s # typedef GoodTypesIface GoodTypesInterface; 956s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 956s # 956s # static void 956s # good_types_default_init (GoodTypesIface *iface) 956s # { 956s # /* GObject properties for D-Bus properties: */ 956s # /** 956s # * GoodTypes:good-property-type: 956s # * 956s # * Represents the D-Bus property "GoodPropertyType". 956s # * 956s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 956s # */ 956s # g_object_interface_install_property (iface, 956s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 956s # } 956s # 956s # /** 956s # * good_types_get_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * 956s # * Gets the value of the "GoodPropertyType" D-Bus property. 956s # * 956s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 956s # * 956s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use good_types_dup_good_property_type() if on another thread. 956s # * 956s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 956s # */ 956s # GVariant * 956s # good_types_get_good_property_type (GoodTypes *object) 956s # { 956s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 956s # 956s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 956s # } 956s # 956s # /** 956s # * good_types_dup_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * 956s # * Gets a copy of the "GoodPropertyType" D-Bus property. 956s # * 956s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 956s # * 956s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). 956s # */ 956s # GVariant * 956s # good_types_dup_good_property_type (GoodTypes *object) 956s # { 956s # GVariant *value; 956s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 956s # return value; 956s # } 956s # 956s # /** 956s # * good_types_set_good_property_type: (skip) 956s # * @object: A GoodTypes. 956s # * @value: The value to set. 956s # * 956s # * Sets the "GoodPropertyType" D-Bus property to @value. 956s # * 956s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 956s # */ 956s # void 956s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 956s # { 956s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * GoodTypesProxy: 956s # * 956s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * GoodTypesProxyClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for GoodTypesProxy. 956s # */ 956s # 956s # struct _GoodTypesProxyPrivate 956s # { 956s # GData *qdata; 956s # }; 956s # 956s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 956s # G_ADD_PRIVATE (GoodTypesProxy) 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 956s # 956s # #endif 956s # static void 956s # good_types_proxy_finalize (GObject *object) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 956s # g_datalist_clear (&proxy->priv->qdata); 956s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # good_types_proxy_get_property (GObject *object, 956s # guint prop_id, 956s # GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GVariant *variant; 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 956s # if (info->use_gvariant) 956s # { 956s # g_value_set_variant (value, variant); 956s # } 956s # else 956s # { 956s # if (variant != NULL) 956s # g_dbus_gvariant_to_gvalue (variant, value); 956s # } 956s # if (variant != NULL) 956s # g_variant_unref (variant); 956s # } 956s # 956s # static void 956s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 956s # GAsyncResult *res, 956s # gpointer user_data) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info = user_data; 956s # GError *error; 956s # GVariant *_ret; 956s # error = NULL; 956s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 956s # if (!_ret) 956s # { 956s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 956s # info->parent_struct.name, 956s # error->message, g_quark_to_string (error->domain), error->code); 956s # g_error_free (error); 956s # } 956s # else 956s # { 956s # g_variant_unref (_ret); 956s # } 956s # } 956s # 956s # static void 956s # good_types_proxy_set_property (GObject *object, 956s # guint prop_id, 956s # const GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GVariant *variant; 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_dbus_proxy_call (G_DBUS_PROXY (object), 956s # "org.freedesktop.DBus.Properties.Set", 956s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 956s # g_variant_unref (variant); 956s # } 956s # 956s # static void 956s # good_types_proxy_g_signal (GDBusProxy *proxy, 956s # const gchar *sender_name G_GNUC_UNUSED, 956s # const gchar *signal_name, 956s # GVariant *parameters) 956s # { 956s # _ExtendedGDBusSignalInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # gsize n; 956s # guint signal_id; 956s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 956s # if (info == NULL) 956s # return; 956s # num_params = g_variant_n_children (parameters); 956s # paramv = g_new0 (GValue, num_params + 1); 956s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 956s # g_value_set_object (¶mv[0], proxy); 956s # g_variant_iter_init (&iter, parameters); 956s # n = 1; 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 956s # g_signal_emitv (paramv, signal_id, 0, NULL); 956s # for (n = 0; n < num_params + 1; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static void 956s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 956s # GVariant *changed_properties, 956s # const gchar *const *invalidated_properties) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 956s # guint n; 956s # const gchar *key; 956s # GVariantIter *iter; 956s # _ExtendedGDBusPropertyInfo *info; 956s # g_variant_get (changed_properties, "a{sv}", &iter); 956s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 956s # g_datalist_remove_data (&proxy->priv->qdata, key); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # g_variant_iter_free (iter); 956s # for (n = 0; invalidated_properties[n] != NULL; n++) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 956s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # } 956s # 956s # static GVariant * 956s # good_types_proxy_get_good_property_type (GoodTypes *object) 956s # { 956s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 956s # GVariant *variant; 956s # GVariant *value = NULL; 956s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 956s # value = variant; 956s # if (variant != NULL) 956s # g_variant_unref (variant); 956s # return value; 956s # } 956s # 956s # static void 956s # good_types_proxy_init (GoodTypesProxy *proxy) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # proxy->priv = good_types_proxy_get_instance_private (proxy); 956s # #else 956s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 956s # #endif 956s # 956s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 956s # } 956s # 956s # static void 956s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusProxyClass *proxy_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = good_types_proxy_finalize; 956s # gobject_class->get_property = good_types_proxy_get_property; 956s # gobject_class->set_property = good_types_proxy_set_property; 956s # 956s # proxy_class = G_DBUS_PROXY_CLASS (klass); 956s # proxy_class->g_signal = good_types_proxy_g_signal; 956s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 956s # 956s # good_types_override_properties (gobject_class, 1); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # good_types_proxy_iface_init (GoodTypesIface *iface) 956s # { 956s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 956s # * 956s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # good_types_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with good_types_proxy_new(). 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_sync: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See good_types_proxy_new() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /** 956s # * good_types_proxy_new_for_bus: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 956s # * 956s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # good_types_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_GOOD_TYPES_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_for_bus_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with good_types_proxy_new_for_bus(). 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * good_types_proxy_new_for_bus_sync: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # GoodTypes * 956s # good_types_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_GOOD_TYPES_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "GoodTypes", NULL); 956s # if (ret != NULL) 956s # return GOOD_TYPES (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * GoodTypesSkeleton: 956s # * 956s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * GoodTypesSkeletonClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for GoodTypesSkeleton. 956s # */ 956s # 956s # struct _GoodTypesSkeletonPrivate 956s # { 956s # GValue *properties; 956s # GList *changed_properties; 956s # GSource *changed_properties_idle_source; 956s # GMainContext *context; 956s # GMutex lock; 956s # }; 956s # 956s # static void 956s # _good_types_skeleton_handle_method_call ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name, 956s # const gchar *method_name, 956s # GVariant *parameters, 956s # GDBusMethodInvocation *invocation, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # _ExtendedGDBusMethodInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # guint num_extra; 956s # gsize n; 956s # guint signal_id; 956s # GValue return_value = G_VALUE_INIT; 956s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 956s # g_assert (info != NULL); 956s # num_params = g_variant_n_children (parameters); 956s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 956s # n = 0; 956s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 956s # g_value_set_object (¶mv[n++], skeleton); 956s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 956s # g_value_set_object (¶mv[n++], invocation); 956s # if (info->pass_fdlist) 956s # { 956s # #ifdef G_OS_UNIX 956s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 956s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 956s # #else 956s # g_assert_not_reached (); 956s # #endif 956s # } 956s # g_variant_iter_init (&iter, parameters); 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 956s # g_value_init (&return_value, G_TYPE_BOOLEAN); 956s # g_signal_emitv (paramv, signal_id, 0, &return_value); 956s # if (!g_value_get_boolean (&return_value)) 956s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 956s # g_value_unset (&return_value); 956s # for (n = 0; n < num_params + num_extra; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static GVariant * 956s # _good_types_skeleton_handle_get_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # GVariant *ret; 956s # ret = NULL; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # g_value_init (&value, pspec->value_type); 956s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_value_unset (&value); 956s # } 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _good_types_skeleton_handle_set_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GVariant *variant, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # gboolean ret; 956s # ret = FALSE; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # if (info->use_gvariant) 956s # g_value_set_variant (&value, variant); 956s # else 956s # g_dbus_gvariant_to_gvalue (variant, &value); 956s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # g_value_unset (&value); 956s # ret = TRUE; 956s # } 956s # return ret; 956s # } 956s # 956s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 956s # { 956s # _good_types_skeleton_handle_method_call, 956s # _good_types_skeleton_handle_get_property, 956s # _good_types_skeleton_handle_set_property, 956s # {NULL} 956s # }; 956s # 956s # static GDBusInterfaceInfo * 956s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return good_types_interface_info (); 956s # } 956s # 956s # static GDBusInterfaceVTable * 956s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 956s # } 956s # 956s # static GVariant * 956s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 956s # 956s # GVariantBuilder builder; 956s # guint n; 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # if (_good_types_interface_info.parent_struct.properties == NULL) 956s # goto out; 956s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 956s # { 956s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 956s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 956s # { 956s # GVariant *value; 956s # value = _good_types_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "GoodTypes", info->name, NULL, skeleton); 956s # if (value != NULL) 956s # { 956s # g_variant_take_ref (value); 956s # g_variant_builder_add (&builder, "{sv}", info->name, value); 956s # g_variant_unref (value); 956s # } 956s # } 956s # } 956s # out: 956s # return g_variant_builder_end (&builder); 956s # } 956s # 956s # static gboolean _good_types_emit_changed (gpointer user_data); 956s # 956s # static void 956s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 956s # gboolean emit_changed = FALSE; 956s # 956s # g_mutex_lock (&skeleton->priv->lock); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # { 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # skeleton->priv->changed_properties_idle_source = NULL; 956s # emit_changed = TRUE; 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # 956s # if (emit_changed) 956s # _good_types_emit_changed (skeleton); 956s # } 956s # 956s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_ADD_PRIVATE (GoodTypesSkeleton) 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 956s # 956s # #endif 956s # static void 956s # good_types_skeleton_finalize (GObject *object) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # guint n; 956s # for (n = 0; n < 1; n++) 956s # g_value_unset (&skeleton->priv->properties[n]); 956s # g_free (skeleton->priv->properties); 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # g_main_context_unref (skeleton->priv->context); 956s # g_mutex_clear (&skeleton->priv->lock); 956s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # good_types_skeleton_get_property (GObject *object, 956s # guint prop_id, 956s # GValue *value, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # } 956s # 956s # static gboolean 956s # _good_types_emit_changed (gpointer user_data) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 956s # GList *l; 956s # GVariantBuilder builder; 956s # GVariantBuilder invalidated_builder; 956s # guint num_changes; 956s # 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 956s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 956s # { 956s # ChangedProperty *cp = l->data; 956s # GVariant *variant; 956s # const GValue *cur_value; 956s # 956s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 956s # if (!_g_value_equal (cur_value, &cp->orig_value)) 956s # { 956s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 956s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 956s # g_variant_unref (variant); 956s # num_changes++; 956s # } 956s # } 956s # if (num_changes > 0) 956s # { 956s # GList *connections, *ll; 956s # GVariant *signal_variant; 956s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 956s # &builder, &invalidated_builder)); 956s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 956s # for (ll = connections; ll != NULL; ll = ll->next) 956s # { 956s # GDBusConnection *connection = ll->data; 956s # 956s # g_dbus_connection_emit_signal (connection, 956s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 956s # "org.freedesktop.DBus.Properties", 956s # "PropertiesChanged", 956s # signal_variant, 956s # NULL); 956s # } 956s # g_variant_unref (signal_variant); 956s # g_list_free_full (connections, g_object_unref); 956s # } 956s # else 956s # { 956s # g_variant_builder_clear (&builder); 956s # g_variant_builder_clear (&invalidated_builder); 956s # } 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # skeleton->priv->changed_properties = NULL; 956s # skeleton->priv->changed_properties_idle_source = NULL; 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # return FALSE; 956s # } 956s # 956s # static void 956s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 956s # { 956s # ChangedProperty *cp; 956s # GList *l; 956s # cp = NULL; 956s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 956s # { 956s # ChangedProperty *i_cp = l->data; 956s # if (i_cp->info == info) 956s # { 956s # cp = i_cp; 956s # break; 956s # } 956s # } 956s # if (cp == NULL) 956s # { 956s # cp = g_new0 (ChangedProperty, 1); 956s # cp->prop_id = prop_id; 956s # cp->info = info; 956s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 956s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 956s # g_value_copy (orig_value, &cp->orig_value); 956s # } 956s # } 956s # 956s # static void 956s # good_types_skeleton_notify (GObject *object, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_mutex_lock (&skeleton->priv->lock); 956s # if (skeleton->priv->changed_properties != NULL && 956s # skeleton->priv->changed_properties_idle_source == NULL) 956s # { 956s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 956s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 956s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 956s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 956s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 956s # g_source_unref (skeleton->priv->changed_properties_idle_source); 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # } 956s # 956s # static void 956s # good_types_skeleton_set_property (GObject *object, 956s # guint prop_id, 956s # const GValue *value, 956s # GParamSpec *pspec) 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # g_assert (prop_id != 0 && prop_id - 1 < 1); 956s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 956s # g_mutex_lock (&skeleton->priv->lock); 956s # g_object_freeze_notify (object); 956s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 956s # { 956s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 956s # info->emits_changed_signal) 956s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 956s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 956s # g_object_notify_by_pspec (object, pspec); 956s # } 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # g_object_thaw_notify (object); 956s # } 956s # 956s # static void 956s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 956s # #else 956s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 956s # #endif 956s # 956s # g_mutex_init (&skeleton->priv->lock); 956s # skeleton->priv->context = g_main_context_ref_thread_default (); 956s # skeleton->priv->properties = g_new0 (GValue, 1); 956s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 956s # } 956s # 956s # static GVariant * 956s # good_types_skeleton_get_good_property_type (GoodTypes *object) 956s # { 956s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 956s # GVariant *value; 956s # g_mutex_lock (&skeleton->priv->lock); 956s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 956s # g_mutex_unlock (&skeleton->priv->lock); 956s # return value; 956s # } 956s # 956s # static void 956s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusInterfaceSkeletonClass *skeleton_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = good_types_skeleton_finalize; 956s # gobject_class->get_property = good_types_skeleton_get_property; 956s # gobject_class->set_property = good_types_skeleton_set_property; 956s # gobject_class->notify = good_types_skeleton_notify; 956s # 956s # 956s # good_types_override_properties (gobject_class, 1); 956s # 956s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 956s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 956s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 956s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 956s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # good_types_skeleton_iface_init (GoodTypesIface *iface) 956s # { 956s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 956s # } 956s # 956s # /** 956s # * good_types_skeleton_new: 956s # * 956s # * Creates a skeleton object for the D-Bus interface GoodTypes. 956s # * 956s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 956s # */ 956s # GoodTypes * 956s # good_types_skeleton_new (void) 956s # { 956s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 956s # } 956s ok 3 __main__.TestCodegen.test_empty_interface_body 956s # tmpdir: /tmp/tmpmmo5hd_7 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpmmo5hd_7/tmpy8bqq5nt.xml: 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmmo5hd_7/tmpy8bqq5nt.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifdef HAVE_CONFIG_H 956s # # include "config.h" 956s # #endif 956s # 956s # #include 956s # #ifdef G_OS_UNIX 956s # # include 956s # #endif 956s # 956s # #ifdef G_ENABLE_DEBUG 956s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 956s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 956s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 956s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 956s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 956s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 956s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 956s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 956s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 956s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 956s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 956s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 956s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 956s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 956s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 956s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 956s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 956s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 956s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 956s # #else /* !G_ENABLE_DEBUG */ 956s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 956s # * Do not access GValues directly in your code. Instead, use the 956s # * g_value_get_*() functions 956s # */ 956s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 956s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 956s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 956s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 956s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 956s # #endif /* !G_ENABLE_DEBUG */ 956s # 956s # typedef struct 956s # { 956s # GDBusArgInfo parent_struct; 956s # gboolean use_gvariant; 956s # } _ExtendedGDBusArgInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusMethodInfo parent_struct; 956s # const gchar *signal_name; 956s # gboolean pass_fdlist; 956s # } _ExtendedGDBusMethodInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusSignalInfo parent_struct; 956s # const gchar *signal_name; 956s # } _ExtendedGDBusSignalInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusPropertyInfo parent_struct; 956s # const gchar *hyphen_name; 956s # guint use_gvariant : 1; 956s # guint emits_changed_signal : 1; 956s # } _ExtendedGDBusPropertyInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusInterfaceInfo parent_struct; 956s # const gchar *hyphen_name; 956s # } _ExtendedGDBusInterfaceInfo; 956s # 956s # typedef struct 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # guint prop_id; 956s # GValue orig_value; /* the value before the change */ 956s # } ChangedProperty; 956s # 956s # static void 956s # _changed_property_free (ChangedProperty *data) 956s # { 956s # g_value_unset (&data->orig_value); 956s # g_free (data); 956s # } 956s # 956s # static gboolean 956s # _g_strv_equal0 (gchar **a, gchar **b) 956s # { 956s # gboolean ret = FALSE; 956s # guint n; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # if (g_strv_length (a) != g_strv_length (b)) 956s # goto out; 956s # for (n = 0; a[n] != NULL; n++) 956s # if (g_strcmp0 (a[n], b[n]) != 0) 956s # goto out; 956s # ret = TRUE; 956s # out: 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _g_variant_equal0 (GVariant *a, GVariant *b) 956s # { 956s # gboolean ret = FALSE; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # ret = g_variant_equal (a, b); 956s # out: 956s # return ret; 956s # } 956s # 956s # G_GNUC_UNUSED static gboolean 956s # _g_value_equal (const GValue *a, const GValue *b) 956s # { 956s # gboolean ret = FALSE; 956s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 956s # switch (G_VALUE_TYPE (a)) 956s # { 956s # case G_TYPE_BOOLEAN: 956s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 956s # break; 956s # case G_TYPE_UCHAR: 956s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 956s # break; 956s # case G_TYPE_INT: 956s # ret = (g_value_get_int (a) == g_value_get_int (b)); 956s # break; 956s # case G_TYPE_UINT: 956s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 956s # break; 956s # case G_TYPE_INT64: 956s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 956s # break; 956s # case G_TYPE_UINT64: 956s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 956s # break; 956s # case G_TYPE_DOUBLE: 956s # { 956s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 956s # gdouble da = g_value_get_double (a); 956s # gdouble db = g_value_get_double (b); 956s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 956s # } 956s # break; 956s # case G_TYPE_STRING: 956s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 956s # break; 956s # case G_TYPE_VARIANT: 956s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 956s # break; 956s # default: 956s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 956s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 956s # else 956s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 956s # break; 956s # } 956s # return ret; 956s # } 956s ok 4 __main__.TestCodegen.test_empty_interface_header 956s # tmpdir: /tmp/tmpdwfbn20w 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpdwfbn20w/tmpm59dnbtf.xml: 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdwfbn20w/tmpm59dnbtf.xml', '--output', '-', '--header'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s ok 5 __main__.TestCodegen.test_empty_interface_info_body 956s # tmpdir: /tmp/tmp6hwh2ntq 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmp6hwh2ntq/tmpmyn8s4mq.xml: 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6hwh2ntq/tmpmyn8s4mq.xml', '--output', '-', '--interface-info-body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifdef HAVE_CONFIG_H 956s # # include "config.h" 956s # #endif 956s # 956s # #include 956s ok 6 __main__.TestCodegen.test_empty_interface_info_header 956s # tmpdir: /tmp/tmp3ka9vxhq 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmp3ka9vxhq/tmpbu_7s2nv.xml: 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ka9vxhq/tmpbu_7s2nv.xml', '--output', '-', '--interface-info-header'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s ok 7 __main__.TestCodegen.test_generate_docbook 956s # tmpdir: /tmp/tmpnkxociag 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpnkxociag/tmpm58375ac.xml: 956s # 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnkxociag/tmpm58375ac.xml', '--generate-docbook', 'test'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: 956s ok 8 __main__.TestCodegen.test_generate_md 956s # tmpdir: /tmp/tmpx_a8khb0 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpx_a8khb0/tmpkkbqw04s.xml: 956s # 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_a8khb0/tmpkkbqw04s.xml', '--generate-md', 'test'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: 956s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 956s # tmpdir: /tmp/tmpm37nxkd6 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpm37nxkd6/tmpu8i7auvd.xml: 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm37nxkd6/tmpu8i7auvd.xml', '--output', '-', '--body'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifdef HAVE_CONFIG_H 956s # # include "config.h" 956s # #endif 956s # 956s # #include 956s # #ifdef G_OS_UNIX 956s # # include 956s # #endif 956s # 956s # #ifdef G_ENABLE_DEBUG 956s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 956s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 956s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 956s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 956s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 956s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 956s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 956s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 956s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 956s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 956s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 956s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 956s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 956s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 956s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 956s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 956s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 956s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 956s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 956s # #else /* !G_ENABLE_DEBUG */ 956s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 956s # * Do not access GValues directly in your code. Instead, use the 956s # * g_value_get_*() functions 956s # */ 956s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 956s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 956s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 956s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 956s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 956s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 956s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 956s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 956s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 956s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 956s # #endif /* !G_ENABLE_DEBUG */ 956s # 956s # typedef struct 956s # { 956s # GDBusArgInfo parent_struct; 956s # gboolean use_gvariant; 956s # } _ExtendedGDBusArgInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusMethodInfo parent_struct; 956s # const gchar *signal_name; 956s # gboolean pass_fdlist; 956s # } _ExtendedGDBusMethodInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusSignalInfo parent_struct; 956s # const gchar *signal_name; 956s # } _ExtendedGDBusSignalInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusPropertyInfo parent_struct; 956s # const gchar *hyphen_name; 956s # guint use_gvariant : 1; 956s # guint emits_changed_signal : 1; 956s # } _ExtendedGDBusPropertyInfo; 956s # 956s # typedef struct 956s # { 956s # GDBusInterfaceInfo parent_struct; 956s # const gchar *hyphen_name; 956s # } _ExtendedGDBusInterfaceInfo; 956s # 956s # typedef struct 956s # { 956s # const _ExtendedGDBusPropertyInfo *info; 956s # guint prop_id; 956s # GValue orig_value; /* the value before the change */ 956s # } ChangedProperty; 956s # 956s # static void 956s # _changed_property_free (ChangedProperty *data) 956s # { 956s # g_value_unset (&data->orig_value); 956s # g_free (data); 956s # } 956s # 956s # static gboolean 956s # _g_strv_equal0 (gchar **a, gchar **b) 956s # { 956s # gboolean ret = FALSE; 956s # guint n; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # if (g_strv_length (a) != g_strv_length (b)) 956s # goto out; 956s # for (n = 0; a[n] != NULL; n++) 956s # if (g_strcmp0 (a[n], b[n]) != 0) 956s # goto out; 956s # ret = TRUE; 956s # out: 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _g_variant_equal0 (GVariant *a, GVariant *b) 956s # { 956s # gboolean ret = FALSE; 956s # if (a == NULL && b == NULL) 956s # { 956s # ret = TRUE; 956s # goto out; 956s # } 956s # if (a == NULL || b == NULL) 956s # goto out; 956s # ret = g_variant_equal (a, b); 956s # out: 956s # return ret; 956s # } 956s # 956s # G_GNUC_UNUSED static gboolean 956s # _g_value_equal (const GValue *a, const GValue *b) 956s # { 956s # gboolean ret = FALSE; 956s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 956s # switch (G_VALUE_TYPE (a)) 956s # { 956s # case G_TYPE_BOOLEAN: 956s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 956s # break; 956s # case G_TYPE_UCHAR: 956s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 956s # break; 956s # case G_TYPE_INT: 956s # ret = (g_value_get_int (a) == g_value_get_int (b)); 956s # break; 956s # case G_TYPE_UINT: 956s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 956s # break; 956s # case G_TYPE_INT64: 956s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 956s # break; 956s # case G_TYPE_UINT64: 956s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 956s # break; 956s # case G_TYPE_DOUBLE: 956s # { 956s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 956s # gdouble da = g_value_get_double (a); 956s # gdouble db = g_value_get_double (b); 956s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 956s # } 956s # break; 956s # case G_TYPE_STRING: 956s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 956s # break; 956s # case G_TYPE_VARIANT: 956s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 956s # break; 956s # default: 956s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 956s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 956s # else 956s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 956s # break; 956s # } 956s # return ret; 956s # } 956s # 956s # static void 956s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 956s # GClosure *closure, 956s # GValue *return_value, 956s # unsigned int n_param_values, 956s # const GValue *param_values, 956s # void *invocation_hint G_GNUC_UNUSED, 956s # void *marshal_data) 956s # { 956s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 956s # (void *data1, 956s # GDBusMethodInvocation *arg_method_invocation, 956s # void *data2); 956s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 956s # GCClosure *cc = (GCClosure*) closure; 956s # void *data1, *data2; 956s # gboolean v_return; 956s # 956s # g_return_if_fail (return_value != NULL); 956s # g_return_if_fail (n_param_values == 2); 956s # 956s # if (G_CCLOSURE_SWAP_DATA (closure)) 956s # { 956s # data1 = closure->data; 956s # data2 = g_value_peek_pointer (param_values + 0); 956s # } 956s # else 956s # { 956s # data1 = g_value_peek_pointer (param_values + 0); 956s # data2 = closure->data; 956s # } 956s # 956s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 956s # (marshal_data ? marshal_data : cc->callback); 956s # 956s # v_return = 956s # callback (data1, 956s # g_marshal_value_peek_object (param_values + 1), 956s # data2); 956s # 956s # g_value_set_boolean (return_value, v_return); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ 956s # * Code for interface org.project.CallableIface 956s # * ------------------------------------------------------------------------ 956s # */ 956s # 956s # /** 956s # * SECTION:OrgProjectCallableIface 956s # * @title: OrgProjectCallableIface 956s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 956s # * 956s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 956s # */ 956s # 956s # /* ---- Introspection data for org.project.CallableIface ---- */ 956s # 956s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 956s # { 956s # { 956s # -1, 956s # (gchar *) "SimpleMethod", 956s # NULL, 956s # NULL, 956s # NULL 956s # }, 956s # "handle-simple-method", 956s # FALSE 956s # }; 956s # 956s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 956s # { 956s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 956s # NULL 956s # }; 956s # 956s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 956s # { 956s # { 956s # -1, 956s # (gchar *) "org.project.CallableIface", 956s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 956s # NULL, 956s # NULL, 956s # NULL 956s # }, 956s # "org-project-callable-iface", 956s # }; 956s # 956s # 956s # /** 956s # * org_project_callable_iface_interface_info: 956s # * 956s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 956s # * 956s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 956s # */ 956s # GDBusInterfaceInfo * 956s # org_project_callable_iface_interface_info (void) 956s # { 956s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_override_properties: 956s # * @klass: The class structure for a #GObject derived class. 956s # * @property_id_begin: The property id to assign to the first overridden property. 956s # * 956s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 956s # * The properties are overridden in the order they are defined. 956s # * 956s # * Returns: The last property id. 956s # */ 956s # guint 956s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 956s # { 956s # return property_id_begin - 1; 956s # } 956s # 956s # 956s # inline static void 956s # org_project_callable_iface_method_marshal_simple_method ( 956s # GClosure *closure, 956s # GValue *return_value, 956s # unsigned int n_param_values, 956s # const GValue *param_values, 956s # void *invocation_hint, 956s # void *marshal_data) 956s # { 956s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 956s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 956s # } 956s # 956s # 956s # /** 956s # * OrgProjectCallableIface: 956s # * 956s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 956s # */ 956s # 956s # /** 956s # * OrgProjectCallableIfaceIface: 956s # * @parent_iface: The parent interface. 956s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 956s # * 956s # * Virtual table for the D-Bus interface org.project.CallableIface. 956s # */ 956s # 956s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 956s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 956s # 956s # static void 956s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 956s # { 956s # /* GObject signals for incoming D-Bus method calls: */ 956s # /** 956s # * OrgProjectCallableIface::handle-simple-method: 956s # * @object: A #OrgProjectCallableIface. 956s # * @invocation: A #GDBusMethodInvocation. 956s # * 956s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 956s # * 956s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_simple_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 956s # * 956s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 956s # */ 956s # g_signal_new ("handle-simple-method", 956s # G_TYPE_FROM_INTERFACE (iface), 956s # G_SIGNAL_RUN_LAST, 956s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 956s # g_signal_accumulator_true_handled, 956s # NULL, 956s # org_project_callable_iface_method_marshal_simple_method, 956s # G_TYPE_BOOLEAN, 956s # 1, 956s # G_TYPE_DBUS_METHOD_INVOCATION); 956s # 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_call_simple_method: 956s # * @proxy: A #OrgProjectCallableIfaceProxy. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 956s # * 956s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 956s # */ 956s # void 956s # org_project_callable_iface_call_simple_method ( 956s # OrgProjectCallableIface *proxy, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 956s # "SimpleMethod", 956s # g_variant_new ("()"), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # cancellable, 956s # callback, 956s # user_data); 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_call_simple_method_finish: 956s # * @proxy: A #OrgProjectCallableIfaceProxy. 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 956s # * @error: Return location for error or %NULL. 956s # * 956s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 956s # * 956s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 956s # */ 956s # gboolean 956s # org_project_callable_iface_call_simple_method_finish ( 956s # OrgProjectCallableIface *proxy, 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GVariant *_ret; 956s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 956s # if (_ret == NULL) 956s # goto _out; 956s # g_variant_get (_ret, 956s # "()"); 956s # g_variant_unref (_ret); 956s # _out: 956s # return _ret != NULL; 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_call_simple_method_sync: 956s # * @proxy: A #OrgProjectCallableIfaceProxy. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL. 956s # * 956s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 956s # * 956s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 956s # * 956s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 956s # */ 956s # gboolean 956s # org_project_callable_iface_call_simple_method_sync ( 956s # OrgProjectCallableIface *proxy, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GVariant *_ret; 956s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 956s # "SimpleMethod", 956s # g_variant_new ("()"), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # cancellable, 956s # error); 956s # if (_ret == NULL) 956s # goto _out; 956s # g_variant_get (_ret, 956s # "()"); 956s # g_variant_unref (_ret); 956s # _out: 956s # return _ret != NULL; 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_complete_simple_method: 956s # * @object: A #OrgProjectCallableIface. 956s # * @invocation: (transfer full): A #GDBusMethodInvocation. 956s # * 956s # * Helper function used in service implementations to finish handling invocations of the SimpleMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 956s # * 956s # * This method will free @invocation, you cannot use it afterwards. 956s # */ 956s # void 956s # org_project_callable_iface_complete_simple_method ( 956s # OrgProjectCallableIface *object G_GNUC_UNUSED, 956s # GDBusMethodInvocation *invocation) 956s # { 956s # g_dbus_method_invocation_return_value (invocation, 956s # g_variant_new ("()")); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * OrgProjectCallableIfaceProxy: 956s # * 956s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * OrgProjectCallableIfaceProxyClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for #OrgProjectCallableIfaceProxy. 956s # */ 956s # 956s # struct _OrgProjectCallableIfaceProxyPrivate 956s # { 956s # GData *qdata; 956s # }; 956s # 956s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 956s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 956s # 956s # #endif 956s # static void 956s # org_project_callable_iface_proxy_finalize (GObject *object) 956s # { 956s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 956s # g_datalist_clear (&proxy->priv->qdata); 956s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 956s # guint prop_id G_GNUC_UNUSED, 956s # GValue *value G_GNUC_UNUSED, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 956s # guint prop_id G_GNUC_UNUSED, 956s # const GValue *value G_GNUC_UNUSED, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 956s # const gchar *sender_name G_GNUC_UNUSED, 956s # const gchar *signal_name, 956s # GVariant *parameters) 956s # { 956s # _ExtendedGDBusSignalInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # gsize n; 956s # guint signal_id; 956s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 956s # if (info == NULL) 956s # return; 956s # num_params = g_variant_n_children (parameters); 956s # paramv = g_new0 (GValue, num_params + 1); 956s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 956s # g_value_set_object (¶mv[0], proxy); 956s # g_variant_iter_init (&iter, parameters); 956s # n = 1; 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 956s # g_signal_emitv (paramv, signal_id, 0, NULL); 956s # for (n = 0; n < num_params + 1; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 956s # GVariant *changed_properties, 956s # const gchar *const *invalidated_properties) 956s # { 956s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 956s # guint n; 956s # const gchar *key; 956s # GVariantIter *iter; 956s # _ExtendedGDBusPropertyInfo *info; 956s # g_variant_get (changed_properties, "a{sv}", &iter); 956s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 956s # g_datalist_remove_data (&proxy->priv->qdata, key); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # g_variant_iter_free (iter); 956s # for (n = 0; invalidated_properties[n] != NULL; n++) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 956s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 956s # #else 956s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 956s # #endif 956s # 956s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusProxyClass *proxy_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 956s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 956s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 956s # 956s # proxy_class = G_DBUS_PROXY_CLASS (klass); 956s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 956s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_proxy_new: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 956s # * 956s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # org_project_callable_iface_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_proxy_new_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 956s # * 956s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectCallableIface * 956s # org_project_callable_iface_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return ORG_PROJECT_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_proxy_new_sync: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectCallableIface * 956s # org_project_callable_iface_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 956s # if (ret != NULL) 956s # return ORG_PROJECT_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /** 956s # * org_project_callable_iface_proxy_new_for_bus: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 956s # * 956s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # org_project_callable_iface_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_proxy_new_for_bus_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 956s # * 956s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectCallableIface * 956s # org_project_callable_iface_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return ORG_PROJECT_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_proxy_new_for_bus_sync: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectCallableIface * 956s # org_project_callable_iface_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 956s # if (ret != NULL) 956s # return ORG_PROJECT_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * OrgProjectCallableIfaceSkeleton: 956s # * 956s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * OrgProjectCallableIfaceSkeletonClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for #OrgProjectCallableIfaceSkeleton. 956s # */ 956s # 956s # struct _OrgProjectCallableIfaceSkeletonPrivate 956s # { 956s # GValue *properties; 956s # GList *changed_properties; 956s # GSource *changed_properties_idle_source; 956s # GMainContext *context; 956s # GMutex lock; 956s # }; 956s # 956s # static void 956s # _org_project_callable_iface_skeleton_handle_method_call ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name, 956s # const gchar *method_name, 956s # GVariant *parameters, 956s # GDBusMethodInvocation *invocation, 956s # gpointer user_data) 956s # { 956s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 956s # _ExtendedGDBusMethodInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # guint num_extra; 956s # gsize n; 956s # guint signal_id; 956s # GValue return_value = G_VALUE_INIT; 956s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 956s # g_assert (info != NULL); 956s # num_params = g_variant_n_children (parameters); 956s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 956s # n = 0; 956s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 956s # g_value_set_object (¶mv[n++], skeleton); 956s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 956s # g_value_set_object (¶mv[n++], invocation); 956s # if (info->pass_fdlist) 956s # { 956s # #ifdef G_OS_UNIX 956s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 956s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 956s # #else 956s # g_assert_not_reached (); 956s # #endif 956s # } 956s # g_variant_iter_init (&iter, parameters); 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 956s # g_value_init (&return_value, G_TYPE_BOOLEAN); 956s # g_signal_emitv (paramv, signal_id, 0, &return_value); 956s # if (!g_value_get_boolean (&return_value)) 956s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 956s # g_value_unset (&return_value); 956s # for (n = 0; n < num_params + num_extra; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static GVariant * 956s # _org_project_callable_iface_skeleton_handle_get_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # GVariant *ret; 956s # ret = NULL; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # g_value_init (&value, pspec->value_type); 956s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_value_unset (&value); 956s # } 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _org_project_callable_iface_skeleton_handle_set_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GVariant *variant, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # gboolean ret; 956s # ret = FALSE; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # if (info->use_gvariant) 956s # g_value_set_variant (&value, variant); 956s # else 956s # g_dbus_gvariant_to_gvalue (variant, &value); 956s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # g_value_unset (&value); 956s # ret = TRUE; 956s # } 956s # return ret; 956s # } 956s # 956s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 956s # { 956s # _org_project_callable_iface_skeleton_handle_method_call, 956s # _org_project_callable_iface_skeleton_handle_get_property, 956s # _org_project_callable_iface_skeleton_handle_set_property, 956s # {NULL} 956s # }; 956s # 956s # static GDBusInterfaceInfo * 956s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return org_project_callable_iface_interface_info (); 956s # } 956s # 956s # static GDBusInterfaceVTable * 956s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 956s # } 956s # 956s # static GVariant * 956s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 956s # 956s # GVariantBuilder builder; 956s # guint n; 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 956s # goto out; 956s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 956s # { 956s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 956s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 956s # { 956s # GVariant *value; 956s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 956s # if (value != NULL) 956s # { 956s # g_variant_take_ref (value); 956s # g_variant_builder_add (&builder, "{sv}", info->name, value); 956s # g_variant_unref (value); 956s # } 956s # } 956s # } 956s # out: 956s # return g_variant_builder_end (&builder); 956s # } 956s # 956s # static void 956s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 956s # 956s # #endif 956s # static void 956s # org_project_callable_iface_skeleton_finalize (GObject *object) 956s # { 956s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # g_main_context_unref (skeleton->priv->context); 956s # g_mutex_clear (&skeleton->priv->lock); 956s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 956s # #else 956s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 956s # #endif 956s # 956s # g_mutex_init (&skeleton->priv->lock); 956s # skeleton->priv->context = g_main_context_ref_thread_default (); 956s # } 956s # 956s # static void 956s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusInterfaceSkeletonClass *skeleton_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 956s # 956s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 956s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 956s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 956s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 956s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # /** 956s # * org_project_callable_iface_skeleton_new: 956s # * 956s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 956s # * 956s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 956s # */ 956s # OrgProjectCallableIface * 956s # org_project_callable_iface_skeleton_new (void) 956s # { 956s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ 956s # * Code for interface org.project.OtherCallableIface 956s # * ------------------------------------------------------------------------ 956s # */ 956s # 956s # /** 956s # * SECTION:OrgProjectOtherCallableIface 956s # * @title: OrgProjectOtherCallableIface 956s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 956s # * 956s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 956s # */ 956s # 956s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 956s # 956s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 956s # { 956s # { 956s # -1, 956s # (gchar *) "SimpleMethod", 956s # NULL, 956s # NULL, 956s # NULL 956s # }, 956s # "handle-simple-method", 956s # FALSE 956s # }; 956s # 956s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 956s # { 956s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 956s # NULL 956s # }; 956s # 956s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 956s # { 956s # { 956s # -1, 956s # (gchar *) "org.project.OtherCallableIface", 956s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 956s # NULL, 956s # NULL, 956s # NULL 956s # }, 956s # "org-project-other-callable-iface", 956s # }; 956s # 956s # 956s # /** 956s # * org_project_other_callable_iface_interface_info: 956s # * 956s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 956s # * 956s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 956s # */ 956s # GDBusInterfaceInfo * 956s # org_project_other_callable_iface_interface_info (void) 956s # { 956s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_override_properties: 956s # * @klass: The class structure for a #GObject derived class. 956s # * @property_id_begin: The property id to assign to the first overridden property. 956s # * 956s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 956s # * The properties are overridden in the order they are defined. 956s # * 956s # * Returns: The last property id. 956s # */ 956s # guint 956s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 956s # { 956s # return property_id_begin - 1; 956s # } 956s # 956s # 956s # inline static void 956s # org_project_other_callable_iface_method_marshal_simple_method ( 956s # GClosure *closure, 956s # GValue *return_value, 956s # unsigned int n_param_values, 956s # const GValue *param_values, 956s # void *invocation_hint, 956s # void *marshal_data) 956s # { 956s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 956s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 956s # } 956s # 956s # 956s # /** 956s # * OrgProjectOtherCallableIface: 956s # * 956s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 956s # */ 956s # 956s # /** 956s # * OrgProjectOtherCallableIfaceIface: 956s # * @parent_iface: The parent interface. 956s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 956s # * 956s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 956s # */ 956s # 956s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 956s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 956s # 956s # static void 956s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 956s # { 956s # /* GObject signals for incoming D-Bus method calls: */ 956s # /** 956s # * OrgProjectOtherCallableIface::handle-simple-method: 956s # * @object: A #OrgProjectOtherCallableIface. 956s # * @invocation: A #GDBusMethodInvocation. 956s # * 956s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 956s # * 956s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_other_callable_iface_complete_simple_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 956s # * 956s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 956s # */ 956s # g_signal_new ("handle-simple-method", 956s # G_TYPE_FROM_INTERFACE (iface), 956s # G_SIGNAL_RUN_LAST, 956s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 956s # g_signal_accumulator_true_handled, 956s # NULL, 956s # org_project_other_callable_iface_method_marshal_simple_method, 956s # G_TYPE_BOOLEAN, 956s # 1, 956s # G_TYPE_DBUS_METHOD_INVOCATION); 956s # 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_call_simple_method: 956s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 956s # * 956s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 956s # */ 956s # void 956s # org_project_other_callable_iface_call_simple_method ( 956s # OrgProjectOtherCallableIface *proxy, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 956s # "SimpleMethod", 956s # g_variant_new ("()"), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # cancellable, 956s # callback, 956s # user_data); 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_call_simple_method_finish: 956s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 956s # * @error: Return location for error or %NULL. 956s # * 956s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 956s # * 956s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 956s # */ 956s # gboolean 956s # org_project_other_callable_iface_call_simple_method_finish ( 956s # OrgProjectOtherCallableIface *proxy, 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GVariant *_ret; 956s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 956s # if (_ret == NULL) 956s # goto _out; 956s # g_variant_get (_ret, 956s # "()"); 956s # g_variant_unref (_ret); 956s # _out: 956s # return _ret != NULL; 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_call_simple_method_sync: 956s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL. 956s # * 956s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 956s # * 956s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 956s # * 956s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 956s # */ 956s # gboolean 956s # org_project_other_callable_iface_call_simple_method_sync ( 956s # OrgProjectOtherCallableIface *proxy, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GVariant *_ret; 956s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 956s # "SimpleMethod", 956s # g_variant_new ("()"), 956s # G_DBUS_CALL_FLAGS_NONE, 956s # -1, 956s # cancellable, 956s # error); 956s # if (_ret == NULL) 956s # goto _out; 956s # g_variant_get (_ret, 956s # "()"); 956s # g_variant_unref (_ret); 956s # _out: 956s # return _ret != NULL; 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_complete_simple_method: 956s # * @object: A #OrgProjectOtherCallableIface. 956s # * @invocation: (transfer full): A #GDBusMethodInvocation. 956s # * 956s # * Helper function used in service implementations to finish handling invocations of the SimpleMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 956s # * 956s # * This method will free @invocation, you cannot use it afterwards. 956s # */ 956s # void 956s # org_project_other_callable_iface_complete_simple_method ( 956s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 956s # GDBusMethodInvocation *invocation) 956s # { 956s # g_dbus_method_invocation_return_value (invocation, 956s # g_variant_new ("()")); 956s # } 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * OrgProjectOtherCallableIfaceProxy: 956s # * 956s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * OrgProjectOtherCallableIfaceProxyClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 956s # */ 956s # 956s # struct _OrgProjectOtherCallableIfaceProxyPrivate 956s # { 956s # GData *qdata; 956s # }; 956s # 956s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 956s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 956s # 956s # #endif 956s # static void 956s # org_project_other_callable_iface_proxy_finalize (GObject *object) 956s # { 956s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 956s # g_datalist_clear (&proxy->priv->qdata); 956s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 956s # guint prop_id G_GNUC_UNUSED, 956s # GValue *value G_GNUC_UNUSED, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 956s # guint prop_id G_GNUC_UNUSED, 956s # const GValue *value G_GNUC_UNUSED, 956s # GParamSpec *pspec G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 956s # const gchar *sender_name G_GNUC_UNUSED, 956s # const gchar *signal_name, 956s # GVariant *parameters) 956s # { 956s # _ExtendedGDBusSignalInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # gsize n; 956s # guint signal_id; 956s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 956s # if (info == NULL) 956s # return; 956s # num_params = g_variant_n_children (parameters); 956s # paramv = g_new0 (GValue, num_params + 1); 956s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 956s # g_value_set_object (¶mv[0], proxy); 956s # g_variant_iter_init (&iter, parameters); 956s # n = 1; 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 956s # g_signal_emitv (paramv, signal_id, 0, NULL); 956s # for (n = 0; n < num_params + 1; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 956s # GVariant *changed_properties, 956s # const gchar *const *invalidated_properties) 956s # { 956s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 956s # guint n; 956s # const gchar *key; 956s # GVariantIter *iter; 956s # _ExtendedGDBusPropertyInfo *info; 956s # g_variant_get (changed_properties, "a{sv}", &iter); 956s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 956s # g_datalist_remove_data (&proxy->priv->qdata, key); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # g_variant_iter_free (iter); 956s # for (n = 0; invalidated_properties[n] != NULL; n++) 956s # { 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 956s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 956s # if (info != NULL) 956s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 956s # } 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 956s # #else 956s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 956s # #endif 956s # 956s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusProxyClass *proxy_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 956s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 956s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 956s # 956s # proxy_class = G_DBUS_PROXY_CLASS (klass); 956s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 956s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_proxy_new: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 956s # * 956s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # org_project_other_callable_iface_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_proxy_new_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 956s # * 956s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectOtherCallableIface * 956s # org_project_other_callable_iface_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_proxy_new_sync: 956s # * @connection: A #GDBusConnection. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectOtherCallableIface * 956s # org_project_other_callable_iface_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 956s # if (ret != NULL) 956s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /** 956s # * org_project_other_callable_iface_proxy_new_for_bus: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 956s # * @user_data: User data to pass to @callback. 956s # * 956s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 956s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 956s # * 956s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 956s # */ 956s # void 956s # org_project_other_callable_iface_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data) 956s # { 956s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 956s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 956s # * @error: Return location for error or %NULL 956s # * 956s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 956s # * 956s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectOtherCallableIface * 956s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error) 956s # { 956s # GObject *ret; 956s # GObject *source_object; 956s # source_object = g_async_result_get_source_object (res); 956s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 956s # g_object_unref (source_object); 956s # if (ret != NULL) 956s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 956s # * @bus_type: A #GBusType. 956s # * @flags: Flags from the #GDBusProxyFlags enumeration. 956s # * @name: A bus name (well-known or unique). 956s # * @object_path: An object path. 956s # * @cancellable: (nullable): A #GCancellable or %NULL. 956s # * @error: Return location for error or %NULL 956s # * 956s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 956s # * 956s # * The calling thread is blocked until a reply is received. 956s # * 956s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 956s # * 956s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 956s # */ 956s # OrgProjectOtherCallableIface * 956s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error) 956s # { 956s # GInitable *ret; 956s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 956s # if (ret != NULL) 956s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 956s # else 956s # return NULL; 956s # } 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # 956s # /** 956s # * OrgProjectOtherCallableIfaceSkeleton: 956s # * 956s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 956s # */ 956s # 956s # /** 956s # * OrgProjectOtherCallableIfaceSkeletonClass: 956s # * @parent_class: The parent class. 956s # * 956s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 956s # */ 956s # 956s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 956s # { 956s # GValue *properties; 956s # GList *changed_properties; 956s # GSource *changed_properties_idle_source; 956s # GMainContext *context; 956s # GMutex lock; 956s # }; 956s # 956s # static void 956s # _org_project_other_callable_iface_skeleton_handle_method_call ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name, 956s # const gchar *method_name, 956s # GVariant *parameters, 956s # GDBusMethodInvocation *invocation, 956s # gpointer user_data) 956s # { 956s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 956s # _ExtendedGDBusMethodInfo *info; 956s # GVariantIter iter; 956s # GVariant *child; 956s # GValue *paramv; 956s # gsize num_params; 956s # guint num_extra; 956s # gsize n; 956s # guint signal_id; 956s # GValue return_value = G_VALUE_INIT; 956s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 956s # g_assert (info != NULL); 956s # num_params = g_variant_n_children (parameters); 956s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 956s # n = 0; 956s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 956s # g_value_set_object (¶mv[n++], skeleton); 956s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 956s # g_value_set_object (¶mv[n++], invocation); 956s # if (info->pass_fdlist) 956s # { 956s # #ifdef G_OS_UNIX 956s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 956s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 956s # #else 956s # g_assert_not_reached (); 956s # #endif 956s # } 956s # g_variant_iter_init (&iter, parameters); 956s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 956s # { 956s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 956s # if (arg_info->use_gvariant) 956s # { 956s # g_value_init (¶mv[n], G_TYPE_VARIANT); 956s # g_value_set_variant (¶mv[n], child); 956s # n++; 956s # } 956s # else 956s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 956s # g_variant_unref (child); 956s # } 956s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 956s # g_value_init (&return_value, G_TYPE_BOOLEAN); 956s # g_signal_emitv (paramv, signal_id, 0, &return_value); 956s # if (!g_value_get_boolean (&return_value)) 956s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 956s # g_value_unset (&return_value); 956s # for (n = 0; n < num_params + num_extra; n++) 956s # g_value_unset (¶mv[n]); 956s # g_free (paramv); 956s # } 956s # 956s # static GVariant * 956s # _org_project_other_callable_iface_skeleton_handle_get_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # GVariant *ret; 956s # ret = NULL; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # g_value_init (&value, pspec->value_type); 956s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 956s # g_value_unset (&value); 956s # } 956s # return ret; 956s # } 956s # 956s # static gboolean 956s # _org_project_other_callable_iface_skeleton_handle_set_property ( 956s # GDBusConnection *connection G_GNUC_UNUSED, 956s # const gchar *sender G_GNUC_UNUSED, 956s # const gchar *object_path G_GNUC_UNUSED, 956s # const gchar *interface_name G_GNUC_UNUSED, 956s # const gchar *property_name, 956s # GVariant *variant, 956s # GError **error, 956s # gpointer user_data) 956s # { 956s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 956s # GValue value = G_VALUE_INIT; 956s # GParamSpec *pspec; 956s # _ExtendedGDBusPropertyInfo *info; 956s # gboolean ret; 956s # ret = FALSE; 956s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 956s # g_assert (info != NULL); 956s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 956s # if (pspec == NULL) 956s # { 956s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 956s # } 956s # else 956s # { 956s # if (info->use_gvariant) 956s # g_value_set_variant (&value, variant); 956s # else 956s # g_dbus_gvariant_to_gvalue (variant, &value); 956s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 956s # g_value_unset (&value); 956s # ret = TRUE; 956s # } 956s # return ret; 956s # } 956s # 956s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 956s # { 956s # _org_project_other_callable_iface_skeleton_handle_method_call, 956s # _org_project_other_callable_iface_skeleton_handle_get_property, 956s # _org_project_other_callable_iface_skeleton_handle_set_property, 956s # {NULL} 956s # }; 956s # 956s # static GDBusInterfaceInfo * 956s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return org_project_other_callable_iface_interface_info (); 956s # } 956s # 956s # static GDBusInterfaceVTable * 956s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 956s # { 956s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 956s # } 956s # 956s # static GVariant * 956s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 956s # { 956s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 956s # 956s # GVariantBuilder builder; 956s # guint n; 956s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 956s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 956s # goto out; 956s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 956s # { 956s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 956s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 956s # { 956s # GVariant *value; 956s # value = _org_project_other_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherCallableIface", info->name, NULL, skeleton); 956s # if (value != NULL) 956s # { 956s # g_variant_take_ref (value); 956s # g_variant_builder_add (&builder, "{sv}", info->name, value); 956s # g_variant_unref (value); 956s # } 956s # } 956s # } 956s # out: 956s # return g_variant_builder_end (&builder); 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 956s # 956s # #else 956s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 956s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 956s # 956s # #endif 956s # static void 956s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 956s # { 956s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 956s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 956s # if (skeleton->priv->changed_properties_idle_source != NULL) 956s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 956s # g_main_context_unref (skeleton->priv->context); 956s # g_mutex_clear (&skeleton->priv->lock); 956s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 956s # { 956s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 956s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 956s # #else 956s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 956s # #endif 956s # 956s # g_mutex_init (&skeleton->priv->lock); 956s # skeleton->priv->context = g_main_context_ref_thread_default (); 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 956s # { 956s # GObjectClass *gobject_class; 956s # GDBusInterfaceSkeletonClass *skeleton_class; 956s # 956s # gobject_class = G_OBJECT_CLASS (klass); 956s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 956s # 956s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 956s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 956s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 956s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 956s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 956s # 956s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 956s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 956s # #endif 956s # } 956s # 956s # static void 956s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 956s # { 956s # } 956s # 956s # /** 956s # * org_project_other_callable_iface_skeleton_new: 956s # * 956s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 956s # * 956s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 956s # */ 956s # OrgProjectOtherCallableIface * 956s # org_project_other_callable_iface_skeleton_new (void) 956s # { 956s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 956s # } 957s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 957s # tmpdir: /tmp/tmpfn9z239c 957s # codegen: /usr/bin/gdbus-codegen 957s # /tmp/tmpfn9z239c/tmp0_4hysws.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp0_4hysws.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # gboolean arg_arg_b, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_boolean (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_b", 957s # (gchar *) "b", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodB", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-b", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_b ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_b: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_b() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-b", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_b, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_b: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_b: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_b ( 957s # OrgProjectUsefulInterface *proxy, 957s # gboolean arg_arg_b, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodB", 957s # g_variant_new ("(b)", 957s # arg_arg_b), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_b_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_b_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_b_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_b: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_b_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # gboolean arg_arg_b, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodB", 957s # g_variant_new ("(b)", 957s # arg_arg_b), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_b: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodB() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_b ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpta1005w7.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpta1005w7.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # guchar arg_arg_y, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_uchar (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_y", 957s # (gchar *) "y", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodY", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-y", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_y ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_y: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_y() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-y", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_y, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_y: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_y: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_y ( 957s # OrgProjectUsefulInterface *proxy, 957s # guchar arg_arg_y, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodY", 957s # g_variant_new ("(y)", 957s # arg_arg_y), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_y_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_y_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_y_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_y: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_y_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # guchar arg_arg_y, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodY", 957s # g_variant_new ("(y)", 957s # arg_arg_y), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_y: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodY() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_y ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp12v6pzjf.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp12v6pzjf.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # gint16 arg_arg_n, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_int (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_n", 957s # (gchar *) "n", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodN", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-n", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_n ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_n: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_n() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-n", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_n, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_n: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_n: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_n ( 957s # OrgProjectUsefulInterface *proxy, 957s # gint16 arg_arg_n, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodN", 957s # g_variant_new ("(n)", 957s # arg_arg_n), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_n_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_n_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_n_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_n: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_n_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # gint16 arg_arg_n, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodN", 957s # g_variant_new ("(n)", 957s # arg_arg_n), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_n: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodN() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_n ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpfhg0nart.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpfhg0nart.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # guint16 arg_arg_q, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_uint (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_q", 957s # (gchar *) "q", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodQ", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-q", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_q ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_q: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_q() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-q", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_q, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_q: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_q: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_q ( 957s # OrgProjectUsefulInterface *proxy, 957s # guint16 arg_arg_q, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodQ", 957s # g_variant_new ("(q)", 957s # arg_arg_q), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_q_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_q_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_q_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_q: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_q_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # guint16 arg_arg_q, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodQ", 957s # g_variant_new ("(q)", 957s # arg_arg_q), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_q: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodQ() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_q ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp9yjh3hyr.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp9yjh3hyr.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # gint arg_arg_i, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_int (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_i", 957s # (gchar *) "i", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodI", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-i", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_i ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_i: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_i() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-i", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_i, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_i: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_i: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_i ( 957s # OrgProjectUsefulInterface *proxy, 957s # gint arg_arg_i, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodI", 957s # g_variant_new ("(i)", 957s # arg_arg_i), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_i_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_i_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_i_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_i: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_i_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # gint arg_arg_i, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodI", 957s # g_variant_new ("(i)", 957s # arg_arg_i), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_i: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodI() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_i ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp2tpsmx9d.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp2tpsmx9d.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # guint arg_arg_u, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_uint (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_u", 957s # (gchar *) "u", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodU", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-u", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_u ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_u: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_u() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-u", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_u, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_u: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_u: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_u ( 957s # OrgProjectUsefulInterface *proxy, 957s # guint arg_arg_u, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodU", 957s # g_variant_new ("(u)", 957s # arg_arg_u), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_u_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_u_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_u_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_u: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_u_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # guint arg_arg_u, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodU", 957s # g_variant_new ("(u)", 957s # arg_arg_u), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_u: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodU() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_u ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpirj1guj9.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpirj1guj9.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # gint64 arg_arg_x, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_int64 (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_x", 957s # (gchar *) "x", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodX", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-x", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_x ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_x: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_x() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-x", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_x, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_x: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_x: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_x ( 957s # OrgProjectUsefulInterface *proxy, 957s # gint64 arg_arg_x, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodX", 957s # g_variant_new ("(x)", 957s # arg_arg_x), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_x_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_x_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_x_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_x: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_x_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # gint64 arg_arg_x, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodX", 957s # g_variant_new ("(x)", 957s # arg_arg_x), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_x: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodX() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_x ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmple583owy.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmple583owy.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # guint64 arg_arg_t, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_uint64 (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_t", 957s # (gchar *) "t", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodT", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-t", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_t ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_t: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_t() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-t", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_t, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_t: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_t: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_t ( 957s # OrgProjectUsefulInterface *proxy, 957s # guint64 arg_arg_t, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodT", 957s # g_variant_new ("(t)", 957s # arg_arg_t), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_t_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_t_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_t_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_t: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_t_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # guint64 arg_arg_t, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodT", 957s # g_variant_new ("(t)", 957s # arg_arg_t), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_t: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodT() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_t ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp1k0apdko.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp1k0apdko.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # gdouble arg_arg_d, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_double (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_d", 957s # (gchar *) "d", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodD", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-d", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_d ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_d: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_d() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-d", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_d, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_d: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_d: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_d ( 957s # OrgProjectUsefulInterface *proxy, 957s # gdouble arg_arg_d, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodD", 957s # g_variant_new ("(d)", 957s # arg_arg_d), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_d_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_d_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_d_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_d: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_d_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # gdouble arg_arg_d, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodD", 957s # g_variant_new ("(d)", 957s # arg_arg_d), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_d: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_d ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpgt3114i0.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpgt3114i0.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *arg_arg_s, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_string (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_s", 957s # (gchar *) "s", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodS", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-s", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_s ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_s: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_s() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-s", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_s, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_s: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_s: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_s ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_s, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodS", 957s # g_variant_new ("(s)", 957s # arg_arg_s), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_s_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_s_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_s_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_s: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_s_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_s, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodS", 957s # g_variant_new ("(s)", 957s # arg_arg_s), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_s: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodS() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_s ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp96o_sb79.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp96o_sb79.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *arg_arg_o, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_string (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_o", 957s # (gchar *) "o", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodO", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-o", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_o ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_o: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_o() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-o", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_o, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_o: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_o: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_o ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_o, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodO", 957s # g_variant_new ("(o)", 957s # arg_arg_o), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_o_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_o_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_o_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_o: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_o_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_o, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodO", 957s # g_variant_new ("(o)", 957s # arg_arg_o), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_o: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodO() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_o ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpktgf6qgb.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpktgf6qgb.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *arg_arg_g, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_string (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_g", 957s # (gchar *) "g", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodG", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-g", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_g ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_g: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_g() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-g", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_g, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_g: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_g: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_g ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_g, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodG", 957s # g_variant_new ("(g)", 957s # arg_arg_g), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_g_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_g_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_g_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_g: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_g_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_g, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodG", 957s # g_variant_new ("(g)", 957s # arg_arg_g), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_g: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodG() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_g ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpdeg8ytnk.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpdeg8ytnk.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # GVariant *arg_arg_h, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_variant (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_h", 957s # (gchar *) "h", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodH", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-h", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_h ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_h: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_h() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-h", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_h, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_h: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_h: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_h ( 957s # OrgProjectUsefulInterface *proxy, 957s # GVariant *arg_arg_h, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodH", 957s # g_variant_new ("(@h)", 957s # arg_arg_h), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_h_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_h_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_h_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_h: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_h_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # GVariant *arg_arg_h, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodH", 957s # g_variant_new ("(@h)", 957s # arg_arg_h), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_h: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodH() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_h ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpi_islvlx.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpi_islvlx.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *arg_arg_ay, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_string (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_ay", 957s # (gchar *) "ay", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodAy", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-ay", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_ay: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-ay", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_ay, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_ay: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_ay: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_ay ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_ay, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAy", 957s # g_variant_new ("(^ay)", 957s # arg_arg_ay), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_ay_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_ay_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_ay_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_ay: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_ay_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *arg_arg_ay, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAy", 957s # g_variant_new ("(^ay)", 957s # arg_arg_ay), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_ay: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAy() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_ay ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpzidb_ssb.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpzidb_ssb.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *const *arg_arg_as, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_boxed (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_as", 957s # (gchar *) "as", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodAs", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-as", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_as ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_as: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_as() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-as", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_as, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_as: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_as: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_as ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *const *arg_arg_as, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAs", 957s # g_variant_new ("(^as)", 957s # arg_arg_as), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_as_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_as_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_as_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_as: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_as_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *const *arg_arg_as, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAs", 957s # g_variant_new ("(^as)", 957s # arg_arg_as), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_as: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_as ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmpfeub0wd0.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmpfeub0wd0.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *const *arg_arg_ao, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_boxed (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_ao", 957s # (gchar *) "ao", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodAo", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-ao", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_ao: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-ao", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_ao, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_ao: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_ao: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_ao ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *const *arg_arg_ao, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAo", 957s # g_variant_new ("(^ao)", 957s # arg_arg_ao), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_ao_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_ao_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_ao_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_ao: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_ao_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *const *arg_arg_ao, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAo", 957s # g_variant_new ("(^ao)", 957s # arg_arg_ao), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_ao: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAo() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_ao ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp15kam_yj.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp15kam_yj.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # const gchar *const *arg_arg_aay, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_boxed (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_aay", 957s # (gchar *) "aay", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodAay", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-aay", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_aay: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_aay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-aay", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_aay, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_aay: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_aay: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_aay ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *const *arg_arg_aay, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAay", 957s # g_variant_new ("(^aay)", 957s # arg_arg_aay), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_aay_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_aay_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_aay_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_aay: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_aay_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # const gchar *const *arg_arg_aay, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAay", 957s # g_variant_new ("(^aay)", 957s # arg_arg_aay), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_aay: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAay() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_aay ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 957s # /tmp/tmpfn9z239c/tmp6fx_wqq9.xml: 957s # 957s # 957s # 957s # 957s # 957s # 957s # 957s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfn9z239c/tmp6fx_wqq9.xml', '--output', '-', '--body'] 957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 957s # Output: /* 957s # * This file is generated by gdbus-codegen, do not modify it. 957s # * 957s # * The license of this code is the same as for the D-Bus interface description 957s # * it was derived from. Note that it links to GLib, so must comply with the 957s # * LGPL linking clauses. 957s # */ 957s # 957s # #ifdef HAVE_CONFIG_H 957s # # include "config.h" 957s # #endif 957s # 957s # #include 957s # #ifdef G_OS_UNIX 957s # # include 957s # #endif 957s # 957s # #ifdef G_ENABLE_DEBUG 957s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 957s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 957s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 957s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 957s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 957s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 957s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 957s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 957s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 957s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 957s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 957s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 957s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 957s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 957s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 957s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 957s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 957s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 957s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 957s # #else /* !G_ENABLE_DEBUG */ 957s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 957s # * Do not access GValues directly in your code. Instead, use the 957s # * g_value_get_*() functions 957s # */ 957s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 957s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 957s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 957s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 957s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 957s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 957s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 957s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 957s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 957s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 957s # #endif /* !G_ENABLE_DEBUG */ 957s # 957s # typedef struct 957s # { 957s # GDBusArgInfo parent_struct; 957s # gboolean use_gvariant; 957s # } _ExtendedGDBusArgInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusMethodInfo parent_struct; 957s # const gchar *signal_name; 957s # gboolean pass_fdlist; 957s # } _ExtendedGDBusMethodInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusSignalInfo parent_struct; 957s # const gchar *signal_name; 957s # } _ExtendedGDBusSignalInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusPropertyInfo parent_struct; 957s # const gchar *hyphen_name; 957s # guint use_gvariant : 1; 957s # guint emits_changed_signal : 1; 957s # } _ExtendedGDBusPropertyInfo; 957s # 957s # typedef struct 957s # { 957s # GDBusInterfaceInfo parent_struct; 957s # const gchar *hyphen_name; 957s # } _ExtendedGDBusInterfaceInfo; 957s # 957s # typedef struct 957s # { 957s # const _ExtendedGDBusPropertyInfo *info; 957s # guint prop_id; 957s # GValue orig_value; /* the value before the change */ 957s # } ChangedProperty; 957s # 957s # static void 957s # _changed_property_free (ChangedProperty *data) 957s # { 957s # g_value_unset (&data->orig_value); 957s # g_free (data); 957s # } 957s # 957s # static gboolean 957s # _g_strv_equal0 (gchar **a, gchar **b) 957s # { 957s # gboolean ret = FALSE; 957s # guint n; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # if (g_strv_length (a) != g_strv_length (b)) 957s # goto out; 957s # for (n = 0; a[n] != NULL; n++) 957s # if (g_strcmp0 (a[n], b[n]) != 0) 957s # goto out; 957s # ret = TRUE; 957s # out: 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _g_variant_equal0 (GVariant *a, GVariant *b) 957s # { 957s # gboolean ret = FALSE; 957s # if (a == NULL && b == NULL) 957s # { 957s # ret = TRUE; 957s # goto out; 957s # } 957s # if (a == NULL || b == NULL) 957s # goto out; 957s # ret = g_variant_equal (a, b); 957s # out: 957s # return ret; 957s # } 957s # 957s # G_GNUC_UNUSED static gboolean 957s # _g_value_equal (const GValue *a, const GValue *b) 957s # { 957s # gboolean ret = FALSE; 957s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 957s # switch (G_VALUE_TYPE (a)) 957s # { 957s # case G_TYPE_BOOLEAN: 957s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 957s # break; 957s # case G_TYPE_UCHAR: 957s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 957s # break; 957s # case G_TYPE_INT: 957s # ret = (g_value_get_int (a) == g_value_get_int (b)); 957s # break; 957s # case G_TYPE_UINT: 957s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 957s # break; 957s # case G_TYPE_INT64: 957s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 957s # break; 957s # case G_TYPE_UINT64: 957s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 957s # break; 957s # case G_TYPE_DOUBLE: 957s # { 957s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 957s # gdouble da = g_value_get_double (a); 957s # gdouble db = g_value_get_double (b); 957s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 957s # } 957s # break; 957s # case G_TYPE_STRING: 957s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 957s # break; 957s # case G_TYPE_VARIANT: 957s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 957s # break; 957s # default: 957s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 957s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 957s # else 957s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 957s # break; 957s # } 957s # return ret; 957s # } 957s # 957s # static void 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint G_GNUC_UNUSED, 957s # void *marshal_data) 957s # { 957s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 957s # (void *data1, 957s # GDBusMethodInvocation *arg_method_invocation, 957s # GVariant *arg_arg_asv, 957s # void *data2); 957s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 957s # GCClosure *cc = (GCClosure*) closure; 957s # void *data1, *data2; 957s # gboolean v_return; 957s # 957s # g_return_if_fail (return_value != NULL); 957s # g_return_if_fail (n_param_values == 3); 957s # 957s # if (G_CCLOSURE_SWAP_DATA (closure)) 957s # { 957s # data1 = closure->data; 957s # data2 = g_value_peek_pointer (param_values + 0); 957s # } 957s # else 957s # { 957s # data1 = g_value_peek_pointer (param_values + 0); 957s # data2 = closure->data; 957s # } 957s # 957s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 957s # (marshal_data ? marshal_data : cc->callback); 957s # 957s # v_return = 957s # callback (data1, 957s # g_marshal_value_peek_object (param_values + 1), 957s # g_marshal_value_peek_variant (param_values + 2), 957s # data2); 957s # 957s # g_value_set_boolean (return_value, v_return); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ 957s # * Code for interface org.project.UsefulInterface 957s # * ------------------------------------------------------------------------ 957s # */ 957s # 957s # /** 957s # * SECTION:OrgProjectUsefulInterface 957s # * @title: OrgProjectUsefulInterface 957s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 957s # * 957s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 957s # */ 957s # 957s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 957s # 957s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 957s # { 957s # { 957s # -1, 957s # (gchar *) "arg_asv", 957s # (gchar *) "a{sv}", 957s # NULL 957s # }, 957s # FALSE 957s # }; 957s # 957s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 957s # { 957s # { 957s # -1, 957s # (gchar *) "SingleArgMethodAsv", 957s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 957s # NULL, 957s # NULL 957s # }, 957s # "handle-single-arg-method-asv", 957s # FALSE 957s # }; 957s # 957s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 957s # { 957s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 957s # NULL 957s # }; 957s # 957s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 957s # { 957s # { 957s # -1, 957s # (gchar *) "org.project.UsefulInterface", 957s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 957s # NULL, 957s # NULL, 957s # NULL 957s # }, 957s # "org-project-useful-interface", 957s # }; 957s # 957s # 957s # /** 957s # * org_project_useful_interface_interface_info: 957s # * 957s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 957s # * 957s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 957s # */ 957s # GDBusInterfaceInfo * 957s # org_project_useful_interface_interface_info (void) 957s # { 957s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_override_properties: 957s # * @klass: The class structure for a #GObject derived class. 957s # * @property_id_begin: The property id to assign to the first overridden property. 957s # * 957s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 957s # * The properties are overridden in the order they are defined. 957s # * 957s # * Returns: The last property id. 957s # */ 957s # guint 957s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 957s # { 957s # return property_id_begin - 1; 957s # } 957s # 957s # 957s # inline static void 957s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 957s # GClosure *closure, 957s # GValue *return_value, 957s # unsigned int n_param_values, 957s # const GValue *param_values, 957s # void *invocation_hint, 957s # void *marshal_data) 957s # { 957s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 957s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 957s # } 957s # 957s # 957s # /** 957s # * OrgProjectUsefulInterface: 957s # * 957s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceIface: 957s # * @parent_iface: The parent interface. 957s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 957s # * 957s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 957s # */ 957s # 957s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 957s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 957s # 957s # static void 957s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 957s # { 957s # /* GObject signals for incoming D-Bus method calls: */ 957s # /** 957s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: A #GDBusMethodInvocation. 957s # * @arg_arg_asv: Argument passed by remote caller. 957s # * 957s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 957s # * 957s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_asv() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 957s # * 957s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 957s # */ 957s # g_signal_new ("handle-single-arg-method-asv", 957s # G_TYPE_FROM_INTERFACE (iface), 957s # G_SIGNAL_RUN_LAST, 957s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 957s # g_signal_accumulator_true_handled, 957s # NULL, 957s # org_project_useful_interface_method_marshal_single_arg_method_asv, 957s # G_TYPE_BOOLEAN, 957s # 2, 957s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 957s # 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_asv: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_asv: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 957s # */ 957s # void 957s # org_project_useful_interface_call_single_arg_method_asv ( 957s # OrgProjectUsefulInterface *proxy, 957s # GVariant *arg_arg_asv, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAsv", 957s # g_variant_new ("(@a{sv})", 957s # arg_arg_asv), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # callback, 957s # user_data); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_asv_finish: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_asv_finish ( 957s # OrgProjectUsefulInterface *proxy, 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_call_single_arg_method_asv_sync: 957s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 957s # * @arg_arg_asv: Argument to pass with the method invocation. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL. 957s # * 957s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 957s # * 957s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 957s # */ 957s # gboolean 957s # org_project_useful_interface_call_single_arg_method_asv_sync ( 957s # OrgProjectUsefulInterface *proxy, 957s # GVariant *arg_arg_asv, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GVariant *_ret; 957s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 957s # "SingleArgMethodAsv", 957s # g_variant_new ("(@a{sv})", 957s # arg_arg_asv), 957s # G_DBUS_CALL_FLAGS_NONE, 957s # -1, 957s # cancellable, 957s # error); 957s # if (_ret == NULL) 957s # goto _out; 957s # g_variant_get (_ret, 957s # "()"); 957s # g_variant_unref (_ret); 957s # _out: 957s # return _ret != NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_complete_single_arg_method_asv: 957s # * @object: A #OrgProjectUsefulInterface. 957s # * @invocation: (transfer full): A #GDBusMethodInvocation. 957s # * 957s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAsv() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 957s # * 957s # * This method will free @invocation, you cannot use it afterwards. 957s # */ 957s # void 957s # org_project_useful_interface_complete_single_arg_method_asv ( 957s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 957s # GDBusMethodInvocation *invocation) 957s # { 957s # g_dbus_method_invocation_return_value (invocation, 957s # g_variant_new ("()")); 957s # } 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxy: 957s # * 957s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceProxyClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceProxy. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceProxyPrivate 957s # { 957s # GData *qdata; 957s # }; 957s # 957s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_proxy_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 957s # g_datalist_clear (&proxy->priv->qdata); 957s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 957s # guint prop_id G_GNUC_UNUSED, 957s # const GValue *value G_GNUC_UNUSED, 957s # GParamSpec *pspec G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 957s # const gchar *sender_name G_GNUC_UNUSED, 957s # const gchar *signal_name, 957s # GVariant *parameters) 957s # { 957s # _ExtendedGDBusSignalInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # gsize n; 957s # guint signal_id; 957s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 957s # if (info == NULL) 957s # return; 957s # num_params = g_variant_n_children (parameters); 957s # paramv = g_new0 (GValue, num_params + 1); 957s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[0], proxy); 957s # g_variant_iter_init (&iter, parameters); 957s # n = 1; 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_signal_emitv (paramv, signal_id, 0, NULL); 957s # for (n = 0; n < num_params + 1; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 957s # GVariant *changed_properties, 957s # const gchar *const *invalidated_properties) 957s # { 957s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 957s # guint n; 957s # const gchar *key; 957s # GVariantIter *iter; 957s # _ExtendedGDBusPropertyInfo *info; 957s # g_variant_get (changed_properties, "a{sv}", &iter); 957s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 957s # g_datalist_remove_data (&proxy->priv->qdata, key); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # g_variant_iter_free (iter); 957s # for (n = 0; invalidated_properties[n] != NULL; n++) 957s # { 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 957s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 957s # if (info != NULL) 957s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 957s # } 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 957s # #else 957s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 957s # #endif 957s # 957s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusProxyClass *proxy_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 957s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 957s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 957s # 957s # proxy_class = G_DBUS_PROXY_CLASS (klass); 957s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 957s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_sync: 957s # * @connection: A #GDBusConnection. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_sync ( 957s # GDBusConnection *connection, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 957s # * @user_data: User data to pass to @callback. 957s # * 957s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 957s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 957s # */ 957s # void 957s # org_project_useful_interface_proxy_new_for_bus ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GAsyncReadyCallback callback, 957s # gpointer user_data) 957s # { 957s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_finish: 957s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 957s # * @error: Return location for error or %NULL 957s # * 957s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_finish ( 957s # GAsyncResult *res, 957s # GError **error) 957s # { 957s # GObject *ret; 957s # GObject *source_object; 957s # source_object = g_async_result_get_source_object (res); 957s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 957s # g_object_unref (source_object); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_proxy_new_for_bus_sync: 957s # * @bus_type: A #GBusType. 957s # * @flags: Flags from the #GDBusProxyFlags enumeration. 957s # * @name: A bus name (well-known or unique). 957s # * @object_path: An object path. 957s # * @cancellable: (nullable): A #GCancellable or %NULL. 957s # * @error: Return location for error or %NULL 957s # * 957s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 957s # * 957s # * The calling thread is blocked until a reply is received. 957s # * 957s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_proxy_new_for_bus_sync ( 957s # GBusType bus_type, 957s # GDBusProxyFlags flags, 957s # const gchar *name, 957s # const gchar *object_path, 957s # GCancellable *cancellable, 957s # GError **error) 957s # { 957s # GInitable *ret; 957s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 957s # if (ret != NULL) 957s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 957s # else 957s # return NULL; 957s # } 957s # 957s # 957s # /* ------------------------------------------------------------------------ */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeleton: 957s # * 957s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 957s # */ 957s # 957s # /** 957s # * OrgProjectUsefulInterfaceSkeletonClass: 957s # * @parent_class: The parent class. 957s # * 957s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 957s # */ 957s # 957s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 957s # { 957s # GValue *properties; 957s # GList *changed_properties; 957s # GSource *changed_properties_idle_source; 957s # GMainContext *context; 957s # GMutex lock; 957s # }; 957s # 957s # static void 957s # _org_project_useful_interface_skeleton_handle_method_call ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name, 957s # const gchar *method_name, 957s # GVariant *parameters, 957s # GDBusMethodInvocation *invocation, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # _ExtendedGDBusMethodInfo *info; 957s # GVariantIter iter; 957s # GVariant *child; 957s # GValue *paramv; 957s # gsize num_params; 957s # guint num_extra; 957s # gsize n; 957s # guint signal_id; 957s # GValue return_value = G_VALUE_INIT; 957s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 957s # g_assert (info != NULL); 957s # num_params = g_variant_n_children (parameters); 957s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 957s # n = 0; 957s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_set_object (¶mv[n++], skeleton); 957s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 957s # g_value_set_object (¶mv[n++], invocation); 957s # if (info->pass_fdlist) 957s # { 957s # #ifdef G_OS_UNIX 957s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 957s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 957s # #else 957s # g_assert_not_reached (); 957s # #endif 957s # } 957s # g_variant_iter_init (&iter, parameters); 957s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 957s # { 957s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 957s # if (arg_info->use_gvariant) 957s # { 957s # g_value_init (¶mv[n], G_TYPE_VARIANT); 957s # g_value_set_variant (¶mv[n], child); 957s # n++; 957s # } 957s # else 957s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 957s # g_variant_unref (child); 957s # } 957s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 957s # g_value_init (&return_value, G_TYPE_BOOLEAN); 957s # g_signal_emitv (paramv, signal_id, 0, &return_value); 957s # if (!g_value_get_boolean (&return_value)) 957s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 957s # g_value_unset (&return_value); 957s # for (n = 0; n < num_params + num_extra; n++) 957s # g_value_unset (¶mv[n]); 957s # g_free (paramv); 957s # } 957s # 957s # static GVariant * 957s # _org_project_useful_interface_skeleton_handle_get_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # GVariant *ret; 957s # ret = NULL; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # g_value_init (&value, pspec->value_type); 957s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 957s # g_value_unset (&value); 957s # } 957s # return ret; 957s # } 957s # 957s # static gboolean 957s # _org_project_useful_interface_skeleton_handle_set_property ( 957s # GDBusConnection *connection G_GNUC_UNUSED, 957s # const gchar *sender G_GNUC_UNUSED, 957s # const gchar *object_path G_GNUC_UNUSED, 957s # const gchar *interface_name G_GNUC_UNUSED, 957s # const gchar *property_name, 957s # GVariant *variant, 957s # GError **error, 957s # gpointer user_data) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 957s # GValue value = G_VALUE_INIT; 957s # GParamSpec *pspec; 957s # _ExtendedGDBusPropertyInfo *info; 957s # gboolean ret; 957s # ret = FALSE; 957s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 957s # g_assert (info != NULL); 957s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 957s # if (pspec == NULL) 957s # { 957s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 957s # } 957s # else 957s # { 957s # if (info->use_gvariant) 957s # g_value_set_variant (&value, variant); 957s # else 957s # g_dbus_gvariant_to_gvalue (variant, &value); 957s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 957s # g_value_unset (&value); 957s # ret = TRUE; 957s # } 957s # return ret; 957s # } 957s # 957s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 957s # { 957s # _org_project_useful_interface_skeleton_handle_method_call, 957s # _org_project_useful_interface_skeleton_handle_get_property, 957s # _org_project_useful_interface_skeleton_handle_set_property, 957s # {NULL} 957s # }; 957s # 957s # static GDBusInterfaceInfo * 957s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return org_project_useful_interface_interface_info (); 957s # } 957s # 957s # static GDBusInterfaceVTable * 957s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 957s # { 957s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 957s # } 957s # 957s # static GVariant * 957s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 957s # 957s # GVariantBuilder builder; 957s # guint n; 957s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 957s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 957s # goto out; 957s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 957s # { 957s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 957s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 957s # { 957s # GVariant *value; 957s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 957s # if (value != NULL) 957s # { 957s # g_variant_take_ref (value); 957s # g_variant_builder_add (&builder, "{sv}", info->name, value); 957s # g_variant_unref (value); 957s # } 957s # } 957s # } 957s # out: 957s # return g_variant_builder_end (&builder); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #else 957s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 957s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 957s # 957s # #endif 957s # static void 957s # org_project_useful_interface_skeleton_finalize (GObject *object) 957s # { 957s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 957s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 957s # if (skeleton->priv->changed_properties_idle_source != NULL) 957s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 957s # g_main_context_unref (skeleton->priv->context); 957s # g_mutex_clear (&skeleton->priv->lock); 957s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 957s # { 957s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 957s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 957s # #else 957s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 957s # #endif 957s # 957s # g_mutex_init (&skeleton->priv->lock); 957s # skeleton->priv->context = g_main_context_ref_thread_default (); 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 957s # { 957s # GObjectClass *gobject_class; 957s # GDBusInterfaceSkeletonClass *skeleton_class; 957s # 957s # gobject_class = G_OBJECT_CLASS (klass); 957s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 957s # 957s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 957s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 957s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 957s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 957s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 957s # 957s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 957s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 957s # #endif 957s # } 957s # 957s # static void 957s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 957s # { 957s # } 957s # 957s # /** 957s # * org_project_useful_interface_skeleton_new: 957s # * 957s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 957s # * 957s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 957s # */ 957s # OrgProjectUsefulInterface * 957s # org_project_useful_interface_skeleton_new (void) 957s # { 957s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 957s # } 958s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 958s # tmpdir: /tmp/tmpb696c6ry 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpb696c6ry/tmpc7rzcgt1.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpc7rzcgt1.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodB", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-b", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_b ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_b() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-b", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_b, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_b: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_b ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodB", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_b_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_b_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gboolean *out_arg_b, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(b)", 958s # out_arg_b); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_b_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_b_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gboolean *out_arg_b, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodB", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(b)", 958s # out_arg_b); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_b: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_b: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodB() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_b ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # gboolean arg_b) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(b)", 958s # arg_b)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp3nl__ie2.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp3nl__ie2.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodY", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-y", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_y ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_y() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-y", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_y, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_y: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_y ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodY", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_y_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_y_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # guchar *out_arg_y, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(y)", 958s # out_arg_y); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_y_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_y_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guchar *out_arg_y, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodY", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(y)", 958s # out_arg_y); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_y: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_y: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodY() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_y ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # guchar arg_y) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(y)", 958s # arg_y)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp4rxu9jzs.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp4rxu9jzs.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodN", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-n", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_n ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_n() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-n", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_n, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_n: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_n ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodN", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_n_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_n_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint16 *out_arg_n, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(n)", 958s # out_arg_n); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_n_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_n_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint16 *out_arg_n, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodN", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(n)", 958s # out_arg_n); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_n: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_n: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodN() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_n ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # gint16 arg_n) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(n)", 958s # arg_n)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpj9sb3e73.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpj9sb3e73.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodQ", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-q", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_q ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_q() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-q", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_q, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_q: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_q ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodQ", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_q_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_q_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint16 *out_arg_q, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(q)", 958s # out_arg_q); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_q_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_q_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint16 *out_arg_q, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodQ", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(q)", 958s # out_arg_q); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_q: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_q: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodQ() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_q ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # guint16 arg_q) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(q)", 958s # arg_q)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpjnohg9zw.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpjnohg9zw.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodI", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-i", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_i ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_i() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-i", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_i, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_i: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_i ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodI", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_i_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_i_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint *out_arg_i, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(i)", 958s # out_arg_i); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_i_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_i_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint *out_arg_i, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodI", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(i)", 958s # out_arg_i); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_i: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_i: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodI() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_i ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # gint arg_i) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(i)", 958s # arg_i)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp1l9jh_8w.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp1l9jh_8w.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodU", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-u", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_u ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_u() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-u", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_u, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_u: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_u ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodU", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_u_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_u_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint *out_arg_u, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(u)", 958s # out_arg_u); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_u_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_u_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint *out_arg_u, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodU", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(u)", 958s # out_arg_u); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_u: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_u: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodU() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_u ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # guint arg_u) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(u)", 958s # arg_u)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpdfs7skud.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpdfs7skud.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodX", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-x", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_x ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_x() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-x", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_x, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_x: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_x ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodX", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_x_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_x_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint64 *out_arg_x, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(x)", 958s # out_arg_x); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_x_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_x_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gint64 *out_arg_x, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodX", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(x)", 958s # out_arg_x); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_x: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_x: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodX() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_x ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # gint64 arg_x) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(x)", 958s # arg_x)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpk99ieul5.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpk99ieul5.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodT", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-t", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_t ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_t() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-t", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_t, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_t: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_t ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodT", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_t_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_t_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint64 *out_arg_t, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(t)", 958s # out_arg_t); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_t_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_t_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # guint64 *out_arg_t, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodT", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(t)", 958s # out_arg_t); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_t: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_t: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodT() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_t ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # guint64 arg_t) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(t)", 958s # arg_t)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpkqhxkw9h.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpkqhxkw9h.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodD", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-d", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_d ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_d() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-d", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_d, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_d: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_d ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodD", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_d_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_d_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gdouble *out_arg_d, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(d)", 958s # out_arg_d); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_d_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_d_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gdouble *out_arg_d, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodD", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(d)", 958s # out_arg_d); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_d: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_d: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_d ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # gdouble arg_d) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(d)", 958s # arg_d)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpna2zejln.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpna2zejln.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodS", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-s", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_s ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_s() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-s", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_s, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_s: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_s ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodS", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_s_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_s_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_s, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(s)", 958s # out_arg_s); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_s_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_s_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_s, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodS", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(s)", 958s # out_arg_s); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_s: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_s: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodS() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_s ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *arg_s) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(s)", 958s # arg_s)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp39wq0bgv.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp39wq0bgv.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodO", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-o", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_o ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_o() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-o", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_o, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_o: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_o ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodO", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_o_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_o_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_o, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(o)", 958s # out_arg_o); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_o_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_o_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_o, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodO", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(o)", 958s # out_arg_o); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_o: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_o: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodO() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_o ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *arg_o) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(o)", 958s # arg_o)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpfrwmct4b.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpfrwmct4b.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodG", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-g", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_g ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_g() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-g", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_g, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_g: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_g ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodG", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_g_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_g_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_g, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(g)", 958s # out_arg_g); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_g_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_g_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_g, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodG", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(g)", 958s # out_arg_g); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_g: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_g: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodG() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_g ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *arg_g) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(g)", 958s # arg_g)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp8stbhnt3.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp8stbhnt3.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodH", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-h", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_h ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_h() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-h", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_h, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_h: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_h ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodH", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_h_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_h_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GVariant **out_arg_h, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(@h)", 958s # out_arg_h); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_h_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_h_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # GVariant **out_arg_h, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodH", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(@h)", 958s # out_arg_h); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_h: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_h: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodH() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_h ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # GVariant *arg_h) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(@h)", 958s # arg_h)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpd9gmxash.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpd9gmxash.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAy", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-ay", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-ay", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_ay, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ay: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_ay ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAy", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ay_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ay_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_ay, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^ay)", 958s # out_arg_ay); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ay_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ay_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar **out_arg_ay, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAy", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^ay)", 958s # out_arg_ay); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_ay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_ay: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAy() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_ay ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *arg_ay) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(^ay)", 958s # arg_ay)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp7m06cu0q.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp7m06cu0q.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAs", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-as", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_as ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_as() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-as", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_as, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_as: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_as ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAs", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_as_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_as_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar ***out_arg_as, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^as)", 958s # out_arg_as); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_as_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_as_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar ***out_arg_as, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAs", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^as)", 958s # out_arg_as); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_as: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_as: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_as ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *const *arg_as) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(^as)", 958s # arg_as)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpqcmbqalj.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpqcmbqalj.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAo", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-ao", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_ao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-ao", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_ao, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ao: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_ao ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAo", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ao_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ao_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar ***out_arg_ao, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^ao)", 958s # out_arg_ao); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_ao_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_ao_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar ***out_arg_ao, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAo", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^ao)", 958s # out_arg_ao); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_ao: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_ao: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAo() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_ao ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *const *arg_ao) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(^ao)", 958s # arg_ao)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmp9ww7hg9n.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmp9ww7hg9n.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAay", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-aay", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_aay() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-aay", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_aay, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_aay: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_aay ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAay", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_aay_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_aay_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar ***out_arg_aay, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^aay)", 958s # out_arg_aay); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_aay_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_aay_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # gchar ***out_arg_aay, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAay", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(^aay)", 958s # out_arg_aay); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_aay: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_aay: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAay() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_aay ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # const gchar *const *arg_aay) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(^aay)", 958s # arg_aay)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # /tmp/tmpb696c6ry/tmpbf5e59ry.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb696c6ry/tmpbf5e59ry.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "arg_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgMethodAsv", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-single-arg-method-asv", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_useful_interface_complete_single_arg_method_asv() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-single-arg-method-asv", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_useful_interface_method_marshal_single_arg_method_asv, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_asv: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_useful_interface_call_single_arg_method_asv ( 958s # OrgProjectUsefulInterface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAsv", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_asv_finish: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_asv_finish ( 958s # OrgProjectUsefulInterface *proxy, 958s # GVariant **out_arg_asv, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(@a{sv})", 958s # out_arg_asv); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_call_single_arg_method_asv_sync: 958s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 958s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_useful_interface_call_single_arg_method_asv_sync ( 958s # OrgProjectUsefulInterface *proxy, 958s # GVariant **out_arg_asv, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SingleArgMethodAsv", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(@a{sv})", 958s # out_arg_asv); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_complete_single_arg_method_asv: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @arg_asv: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SingleArgMethodAsv() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_useful_interface_complete_single_arg_method_asv ( 958s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # GVariant *arg_asv) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(@a{sv})", 958s # arg_asv)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 958s # tmpdir: /tmp/tmpe19t3ovt 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpe19t3ovt/tmpa0x90zw2.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe19t3ovt/tmpa0x90zw2.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 20); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_boolean (param_values + 2), 958s # g_marshal_value_peek_uchar (param_values + 3), 958s # g_marshal_value_peek_int (param_values + 4), 958s # g_marshal_value_peek_uint (param_values + 5), 958s # g_marshal_value_peek_int (param_values + 6), 958s # g_marshal_value_peek_uint (param_values + 7), 958s # g_marshal_value_peek_int64 (param_values + 8), 958s # g_marshal_value_peek_uint64 (param_values + 9), 958s # g_marshal_value_peek_double (param_values + 10), 958s # g_marshal_value_peek_string (param_values + 11), 958s # g_marshal_value_peek_string (param_values + 12), 958s # g_marshal_value_peek_string (param_values + 13), 958s # g_marshal_value_peek_variant (param_values + 14), 958s # g_marshal_value_peek_string (param_values + 15), 958s # g_marshal_value_peek_boxed (param_values + 16), 958s # g_marshal_value_peek_boxed (param_values + 17), 958s # g_marshal_value_peek_boxed (param_values + 18), 958s # g_marshal_value_peek_variant (param_values + 19), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.CallableIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectCallableIface 958s # * @title: OrgProjectCallableIface 958s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.CallableIface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 958s # { 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 958s # { 958s # { 958s # -1, 958s # (gchar *) "MethodWithManyArgs", 958s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-method-with-many-args", 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 958s # { 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SameMethodWithManyArgs", 958s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-same-method-with-many-args", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 958s # { 958s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 958s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.CallableIface", 958s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-callable-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_callable_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_callable_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_callable_iface_method_marshal_method_with_many_args ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectCallableIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 958s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.CallableIface. 958s # */ 958s # 958s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectCallableIface::handle-method-with-many-args: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_an_b: Argument passed by remote caller. 958s # * @arg_an_y: Argument passed by remote caller. 958s # * @arg_an_n: Argument passed by remote caller. 958s # * @arg_an_q: Argument passed by remote caller. 958s # * @arg_an_i: Argument passed by remote caller. 958s # * @arg_an_u: Argument passed by remote caller. 958s # * @arg_an_x: Argument passed by remote caller. 958s # * @arg_an_t: Argument passed by remote caller. 958s # * @arg_an_d: Argument passed by remote caller. 958s # * @arg_an_s: Argument passed by remote caller. 958s # * @arg_an_o: Argument passed by remote caller. 958s # * @arg_an_g: Argument passed by remote caller. 958s # * @arg_an_h: Argument passed by remote caller. 958s # * @arg_an_ay: Argument passed by remote caller. 958s # * @arg_an_as: Argument passed by remote caller. 958s # * @arg_an_ao: Argument passed by remote caller. 958s # * @arg_an_aay: Argument passed by remote caller. 958s # * @arg_an_asv: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-method-with-many-args", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_callable_iface_method_marshal_method_with_many_args, 958s # G_TYPE_BOOLEAN, 958s # 19, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 958s # 958s # /** 958s # * OrgProjectCallableIface::handle-same-method-with-many-args: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_an_b: Argument passed by remote caller. 958s # * @arg_an_y: Argument passed by remote caller. 958s # * @arg_an_n: Argument passed by remote caller. 958s # * @arg_an_q: Argument passed by remote caller. 958s # * @arg_an_i: Argument passed by remote caller. 958s # * @arg_an_u: Argument passed by remote caller. 958s # * @arg_an_x: Argument passed by remote caller. 958s # * @arg_an_t: Argument passed by remote caller. 958s # * @arg_an_d: Argument passed by remote caller. 958s # * @arg_an_s: Argument passed by remote caller. 958s # * @arg_an_o: Argument passed by remote caller. 958s # * @arg_an_g: Argument passed by remote caller. 958s # * @arg_an_h: Argument passed by remote caller. 958s # * @arg_an_ay: Argument passed by remote caller. 958s # * @arg_an_as: Argument passed by remote caller. 958s # * @arg_an_ao: Argument passed by remote caller. 958s # * @arg_an_aay: Argument passed by remote caller. 958s # * @arg_an_asv: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_same_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-same-method-with-many-args", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_callable_iface_method_marshal_same_method_with_many_args, 958s # G_TYPE_BOOLEAN, 958s # 19, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_method_with_many_args: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @arg_an_b: Argument to pass with the method invocation. 958s # * @arg_an_y: Argument to pass with the method invocation. 958s # * @arg_an_n: Argument to pass with the method invocation. 958s # * @arg_an_q: Argument to pass with the method invocation. 958s # * @arg_an_i: Argument to pass with the method invocation. 958s # * @arg_an_u: Argument to pass with the method invocation. 958s # * @arg_an_x: Argument to pass with the method invocation. 958s # * @arg_an_t: Argument to pass with the method invocation. 958s # * @arg_an_d: Argument to pass with the method invocation. 958s # * @arg_an_s: Argument to pass with the method invocation. 958s # * @arg_an_o: Argument to pass with the method invocation. 958s # * @arg_an_g: Argument to pass with the method invocation. 958s # * @arg_an_h: Argument to pass with the method invocation. 958s # * @arg_an_ay: Argument to pass with the method invocation. 958s # * @arg_an_as: Argument to pass with the method invocation. 958s # * @arg_an_ao: Argument to pass with the method invocation. 958s # * @arg_an_aay: Argument to pass with the method invocation. 958s # * @arg_an_asv: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_callable_iface_call_method_with_many_args ( 958s # OrgProjectCallableIface *proxy, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "MethodWithManyArgs", 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_method_with_many_args_finish: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_method_with_many_args_finish ( 958s # OrgProjectCallableIface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_method_with_many_args_sync: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @arg_an_b: Argument to pass with the method invocation. 958s # * @arg_an_y: Argument to pass with the method invocation. 958s # * @arg_an_n: Argument to pass with the method invocation. 958s # * @arg_an_q: Argument to pass with the method invocation. 958s # * @arg_an_i: Argument to pass with the method invocation. 958s # * @arg_an_u: Argument to pass with the method invocation. 958s # * @arg_an_x: Argument to pass with the method invocation. 958s # * @arg_an_t: Argument to pass with the method invocation. 958s # * @arg_an_d: Argument to pass with the method invocation. 958s # * @arg_an_s: Argument to pass with the method invocation. 958s # * @arg_an_o: Argument to pass with the method invocation. 958s # * @arg_an_g: Argument to pass with the method invocation. 958s # * @arg_an_h: Argument to pass with the method invocation. 958s # * @arg_an_ay: Argument to pass with the method invocation. 958s # * @arg_an_as: Argument to pass with the method invocation. 958s # * @arg_an_ao: Argument to pass with the method invocation. 958s # * @arg_an_aay: Argument to pass with the method invocation. 958s # * @arg_an_asv: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_method_with_many_args_sync ( 958s # OrgProjectCallableIface *proxy, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "MethodWithManyArgs", 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_same_method_with_many_args: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @arg_an_b: Argument to pass with the method invocation. 958s # * @arg_an_y: Argument to pass with the method invocation. 958s # * @arg_an_n: Argument to pass with the method invocation. 958s # * @arg_an_q: Argument to pass with the method invocation. 958s # * @arg_an_i: Argument to pass with the method invocation. 958s # * @arg_an_u: Argument to pass with the method invocation. 958s # * @arg_an_x: Argument to pass with the method invocation. 958s # * @arg_an_t: Argument to pass with the method invocation. 958s # * @arg_an_d: Argument to pass with the method invocation. 958s # * @arg_an_s: Argument to pass with the method invocation. 958s # * @arg_an_o: Argument to pass with the method invocation. 958s # * @arg_an_g: Argument to pass with the method invocation. 958s # * @arg_an_h: Argument to pass with the method invocation. 958s # * @arg_an_ay: Argument to pass with the method invocation. 958s # * @arg_an_as: Argument to pass with the method invocation. 958s # * @arg_an_ao: Argument to pass with the method invocation. 958s # * @arg_an_aay: Argument to pass with the method invocation. 958s # * @arg_an_asv: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_callable_iface_call_same_method_with_many_args ( 958s # OrgProjectCallableIface *proxy, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "SameMethodWithManyArgs", 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_same_method_with_many_args_finish: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_same_method_with_many_args_finish ( 958s # OrgProjectCallableIface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_same_method_with_many_args_sync: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @arg_an_b: Argument to pass with the method invocation. 958s # * @arg_an_y: Argument to pass with the method invocation. 958s # * @arg_an_n: Argument to pass with the method invocation. 958s # * @arg_an_q: Argument to pass with the method invocation. 958s # * @arg_an_i: Argument to pass with the method invocation. 958s # * @arg_an_u: Argument to pass with the method invocation. 958s # * @arg_an_x: Argument to pass with the method invocation. 958s # * @arg_an_t: Argument to pass with the method invocation. 958s # * @arg_an_d: Argument to pass with the method invocation. 958s # * @arg_an_s: Argument to pass with the method invocation. 958s # * @arg_an_o: Argument to pass with the method invocation. 958s # * @arg_an_g: Argument to pass with the method invocation. 958s # * @arg_an_h: Argument to pass with the method invocation. 958s # * @arg_an_ay: Argument to pass with the method invocation. 958s # * @arg_an_as: Argument to pass with the method invocation. 958s # * @arg_an_ao: Argument to pass with the method invocation. 958s # * @arg_an_aay: Argument to pass with the method invocation. 958s # * @arg_an_asv: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_same_method_with_many_args_sync ( 958s # OrgProjectCallableIface *proxy, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "SameMethodWithManyArgs", 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_complete_method_with_many_args: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_callable_iface_complete_method_with_many_args ( 958s # OrgProjectCallableIface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_complete_same_method_with_many_args: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the SameMethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_callable_iface_complete_same_method_with_many_args ( 958s # OrgProjectCallableIface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceProxy: 958s # * 958s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectCallableIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectCallableIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_callable_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_callable_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_callable_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceSkeleton: 958s # * 958s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectCallableIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectCallableIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_callable_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_callable_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_callable_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 958s # { 958s # _org_project_callable_iface_skeleton_handle_method_call, 958s # _org_project_callable_iface_skeleton_handle_get_property, 958s # _org_project_callable_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_callable_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_callable_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.OtherCallableIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectOtherCallableIface 958s # * @title: OrgProjectOtherCallableIface 958s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 958s # { 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 958s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 958s # { 958s # { 958s # -1, 958s # (gchar *) "MethodWithManyArgs", 958s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "handle-method-with-many-args", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 958s # { 958s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.OtherCallableIface", 958s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-other-callable-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_other_callable_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_other_callable_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectOtherCallableIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 958s # */ 958s # 958s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 958s # * @object: A #OrgProjectOtherCallableIface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @arg_an_b: Argument passed by remote caller. 958s # * @arg_an_y: Argument passed by remote caller. 958s # * @arg_an_n: Argument passed by remote caller. 958s # * @arg_an_q: Argument passed by remote caller. 958s # * @arg_an_i: Argument passed by remote caller. 958s # * @arg_an_u: Argument passed by remote caller. 958s # * @arg_an_x: Argument passed by remote caller. 958s # * @arg_an_t: Argument passed by remote caller. 958s # * @arg_an_d: Argument passed by remote caller. 958s # * @arg_an_s: Argument passed by remote caller. 958s # * @arg_an_o: Argument passed by remote caller. 958s # * @arg_an_g: Argument passed by remote caller. 958s # * @arg_an_h: Argument passed by remote caller. 958s # * @arg_an_ay: Argument passed by remote caller. 958s # * @arg_an_as: Argument passed by remote caller. 958s # * @arg_an_ao: Argument passed by remote caller. 958s # * @arg_an_aay: Argument passed by remote caller. 958s # * @arg_an_asv: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_other_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-method-with-many-args", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_other_callable_iface_method_marshal_method_with_many_args, 958s # G_TYPE_BOOLEAN, 958s # 19, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_call_method_with_many_args: 958s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 958s # * @arg_an_b: Argument to pass with the method invocation. 958s # * @arg_an_y: Argument to pass with the method invocation. 958s # * @arg_an_n: Argument to pass with the method invocation. 958s # * @arg_an_q: Argument to pass with the method invocation. 958s # * @arg_an_i: Argument to pass with the method invocation. 958s # * @arg_an_u: Argument to pass with the method invocation. 958s # * @arg_an_x: Argument to pass with the method invocation. 958s # * @arg_an_t: Argument to pass with the method invocation. 958s # * @arg_an_d: Argument to pass with the method invocation. 958s # * @arg_an_s: Argument to pass with the method invocation. 958s # * @arg_an_o: Argument to pass with the method invocation. 958s # * @arg_an_g: Argument to pass with the method invocation. 958s # * @arg_an_h: Argument to pass with the method invocation. 958s # * @arg_an_ay: Argument to pass with the method invocation. 958s # * @arg_an_as: Argument to pass with the method invocation. 958s # * @arg_an_ao: Argument to pass with the method invocation. 958s # * @arg_an_aay: Argument to pass with the method invocation. 958s # * @arg_an_asv: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_other_callable_iface_call_method_with_many_args ( 958s # OrgProjectOtherCallableIface *proxy, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "MethodWithManyArgs", 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_call_method_with_many_args_finish: 958s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_other_callable_iface_call_method_with_many_args_finish ( 958s # OrgProjectOtherCallableIface *proxy, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_call_method_with_many_args_sync: 958s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 958s # * @arg_an_b: Argument to pass with the method invocation. 958s # * @arg_an_y: Argument to pass with the method invocation. 958s # * @arg_an_n: Argument to pass with the method invocation. 958s # * @arg_an_q: Argument to pass with the method invocation. 958s # * @arg_an_i: Argument to pass with the method invocation. 958s # * @arg_an_u: Argument to pass with the method invocation. 958s # * @arg_an_x: Argument to pass with the method invocation. 958s # * @arg_an_t: Argument to pass with the method invocation. 958s # * @arg_an_d: Argument to pass with the method invocation. 958s # * @arg_an_s: Argument to pass with the method invocation. 958s # * @arg_an_o: Argument to pass with the method invocation. 958s # * @arg_an_g: Argument to pass with the method invocation. 958s # * @arg_an_h: Argument to pass with the method invocation. 958s # * @arg_an_ay: Argument to pass with the method invocation. 958s # * @arg_an_as: Argument to pass with the method invocation. 958s # * @arg_an_ao: Argument to pass with the method invocation. 958s # * @arg_an_aay: Argument to pass with the method invocation. 958s # * @arg_an_asv: Argument to pass with the method invocation. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_other_callable_iface_call_method_with_many_args_sync ( 958s # OrgProjectOtherCallableIface *proxy, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "MethodWithManyArgs", 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "()"); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_complete_method_with_many_args: 958s # * @object: A #OrgProjectOtherCallableIface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_other_callable_iface_complete_method_with_many_args ( 958s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("()")); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceProxy: 958s # * 958s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectOtherCallableIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_callable_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_callable_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_callable_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherCallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceSkeleton: 958s # * 958s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherCallableIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_other_callable_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_other_callable_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_other_callable_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 958s # { 958s # _org_project_other_callable_iface_skeleton_handle_method_call, 958s # _org_project_other_callable_iface_skeleton_handle_get_property, 958s # _org_project_other_callable_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_other_callable_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_other_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherCallableIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_other_callable_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectOtherCallableIface * 958s # org_project_other_callable_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 958s # } 958s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 958s # tmpdir: /tmp/tmp69ohwtkd 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmp69ohwtkd/tmpl5gjzxxl.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp69ohwtkd/tmpl5gjzxxl.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (void *data1, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.CallableIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectCallableIface 958s # * @title: OrgProjectCallableIface 958s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for org.project.CallableIface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 958s # { 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 958s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 958s # { 958s # { 958s # -1, 958s # (gchar *) "MethodWithManyArgs", 958s # NULL, 958s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-method-with-many-args", 958s # FALSE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 958s # { 958s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.CallableIface", 958s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-callable-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_callable_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_callable_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_callable_iface_method_marshal_method_with_many_args ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectCallableIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.CallableIface. 958s # */ 958s # 958s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * OrgProjectCallableIface::handle-method-with-many-args: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * 958s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_callable_iface_complete_method_with_many_args() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-method-with-many-args", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # org_project_callable_iface_method_marshal_method_with_many_args, 958s # G_TYPE_BOOLEAN, 958s # 1, 958s # G_TYPE_DBUS_METHOD_INVOCATION); 958s # 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_method_with_many_args: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # org_project_callable_iface_call_method_with_many_args ( 958s # OrgProjectCallableIface *proxy, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 958s # "MethodWithManyArgs", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_method_with_many_args_finish: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_method_with_many_args_finish ( 958s # OrgProjectCallableIface *proxy, 958s # gboolean *out_an_b, 958s # guchar *out_an_y, 958s # gint16 *out_an_n, 958s # guint16 *out_an_q, 958s # gint *out_an_i, 958s # guint *out_an_u, 958s # gint64 *out_an_x, 958s # guint64 *out_an_t, 958s # gdouble *out_an_d, 958s # gchar **out_an_s, 958s # gchar **out_an_o, 958s # gchar **out_an_g, 958s # GVariant **out_an_h, 958s # gchar **out_an_ay, 958s # gchar ***out_an_as, 958s # gchar ***out_an_ao, 958s # gchar ***out_an_aay, 958s # GVariant **out_an_asv, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # out_an_b, 958s # out_an_y, 958s # out_an_n, 958s # out_an_q, 958s # out_an_i, 958s # out_an_u, 958s # out_an_x, 958s # out_an_t, 958s # out_an_d, 958s # out_an_s, 958s # out_an_o, 958s # out_an_g, 958s # out_an_h, 958s # out_an_ay, 958s # out_an_as, 958s # out_an_ao, 958s # out_an_aay, 958s # out_an_asv); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_call_method_with_many_args_sync: 958s # * @proxy: A #OrgProjectCallableIfaceProxy. 958s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 958s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # org_project_callable_iface_call_method_with_many_args_sync ( 958s # OrgProjectCallableIface *proxy, 958s # gboolean *out_an_b, 958s # guchar *out_an_y, 958s # gint16 *out_an_n, 958s # guint16 *out_an_q, 958s # gint *out_an_i, 958s # guint *out_an_u, 958s # gint64 *out_an_x, 958s # guint64 *out_an_t, 958s # gdouble *out_an_d, 958s # gchar **out_an_s, 958s # gchar **out_an_o, 958s # gchar **out_an_g, 958s # GVariant **out_an_h, 958s # gchar **out_an_ay, 958s # gchar ***out_an_as, 958s # gchar ***out_an_ao, 958s # gchar ***out_an_aay, 958s # GVariant **out_an_asv, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 958s # "MethodWithManyArgs", 958s # g_variant_new ("()"), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # out_an_b, 958s # out_an_y, 958s # out_an_n, 958s # out_an_q, 958s # out_an_i, 958s # out_an_u, 958s # out_an_x, 958s # out_an_t, 958s # out_an_d, 958s # out_an_s, 958s # out_an_o, 958s # out_an_g, 958s # out_an_h, 958s # out_an_ay, 958s # out_an_as, 958s # out_an_ao, 958s # out_an_aay, 958s # out_an_asv); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_complete_method_with_many_args: 958s # * @object: A #OrgProjectCallableIface. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @an_b: Parameter to return. 958s # * @an_y: Parameter to return. 958s # * @an_n: Parameter to return. 958s # * @an_q: Parameter to return. 958s # * @an_i: Parameter to return. 958s # * @an_u: Parameter to return. 958s # * @an_x: Parameter to return. 958s # * @an_t: Parameter to return. 958s # * @an_d: Parameter to return. 958s # * @an_s: Parameter to return. 958s # * @an_o: Parameter to return. 958s # * @an_g: Parameter to return. 958s # * @an_h: Parameter to return. 958s # * @an_ay: Parameter to return. 958s # * @an_as: Parameter to return. 958s # * @an_ao: Parameter to return. 958s # * @an_aay: Parameter to return. 958s # * @an_asv: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the MethodWithManyArgs() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # org_project_callable_iface_complete_method_with_many_args ( 958s # OrgProjectCallableIface *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # gboolean an_b, 958s # guchar an_y, 958s # gint16 an_n, 958s # guint16 an_q, 958s # gint an_i, 958s # guint an_u, 958s # gint64 an_x, 958s # guint64 an_t, 958s # gdouble an_d, 958s # const gchar *an_s, 958s # const gchar *an_o, 958s # const gchar *an_g, 958s # GVariant *an_h, 958s # const gchar *an_ay, 958s # const gchar *const *an_as, 958s # const gchar *const *an_ao, 958s # const gchar *const *an_aay, 958s # GVariant *an_asv) 958s # { 958s # g_dbus_method_invocation_return_value (invocation, 958s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # an_b, 958s # an_y, 958s # an_n, 958s # an_q, 958s # an_i, 958s # an_u, 958s # an_x, 958s # an_t, 958s # an_d, 958s # an_s, 958s # an_o, 958s # an_g, 958s # an_h, 958s # an_ay, 958s # an_as, 958s # an_ao, 958s # an_aay, 958s # an_asv)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceProxy: 958s # * 958s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectCallableIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectCallableIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_callable_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_callable_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_callable_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.CallableIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_CALLABLE_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceSkeleton: 958s # * 958s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectCallableIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectCallableIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectCallableIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_callable_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_callable_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_callable_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 958s # { 958s # _org_project_callable_iface_skeleton_handle_method_call, 958s # _org_project_callable_iface_skeleton_handle_get_property, 958s # _org_project_callable_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_callable_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_callable_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.CallableIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_callable_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_callable_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectCallableIface * 958s # org_project_callable_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 958s # } 958s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 958s # tmpdir: /tmp/tmpgh3f6_bi 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpgh3f6_bi/tmpiingtnk7.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgh3f6_bi/tmpiingtnk7.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 958s # (void *data1, 958s # GUnixFDList *arg_fd_list, 958s # GDBusMethodInvocation *arg_method_invocation, 958s # const gchar *arg_greeting, 958s # void *data2); 958s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # gboolean v_return; 958s # 958s # g_return_if_fail (return_value != NULL); 958s # g_return_if_fail (n_param_values == 4); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # v_return = 958s # callback (data1, 958s # g_marshal_value_peek_object (param_values + 1), 958s # g_marshal_value_peek_object (param_values + 2), 958s # g_marshal_value_peek_string (param_values + 3), 958s # data2); 958s # 958s # g_value_set_boolean (return_value, v_return); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface test.FDPassing 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:TestFDPassing 958s # * @title: TestFDPassing 958s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 958s # * 958s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 958s # */ 958s # 958s # /* ---- Introspection data for test.FDPassing ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 958s # { 958s # { 958s # -1, 958s # (gchar *) "greeting", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 958s # { 958s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 958s # { 958s # { 958s # -1, 958s # (gchar *) "response", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 958s # { 958s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 958s # { 958s # { 958s # -1, 958s # (gchar *) "HelloFD", 958s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 958s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 958s # NULL 958s # }, 958s # "handle-hello-fd", 958s # TRUE 958s # }; 958s # 958s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 958s # { 958s # &_test_fdpassing_method_info_hello_fd.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "test.FDPassing", 958s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 958s # NULL, 958s # NULL, 958s # NULL 958s # }, 958s # "test-fdpassing", 958s # }; 958s # 958s # 958s # /** 958s # * test_fdpassing_interface_info: 958s # * 958s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # test_fdpassing_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * test_fdpassing_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # test_fdpassing_method_marshal_hello_fd ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * TestFDPassing: 958s # * 958s # * Abstract interface type for the D-Bus interface test.FDPassing. 958s # */ 958s # 958s # /** 958s # * TestFDPassingIface: 958s # * @parent_iface: The parent interface. 958s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 958s # * 958s # * Virtual table for the D-Bus interface test.FDPassing. 958s # */ 958s # 958s # typedef TestFDPassingIface TestFDPassingInterface; 958s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 958s # 958s # static void 958s # test_fdpassing_default_init (TestFDPassingIface *iface) 958s # { 958s # /* GObject signals for incoming D-Bus method calls: */ 958s # /** 958s # * TestFDPassing::handle-hello-fd: 958s # * @object: A #TestFDPassing. 958s # * @invocation: A #GDBusMethodInvocation. 958s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 958s # * @arg_greeting: Argument passed by remote caller. 958s # * 958s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 958s # * 958s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call test_fdpassing_complete_hello_fd() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 958s # * 958s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 958s # */ 958s # g_signal_new ("handle-hello-fd", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 958s # g_signal_accumulator_true_handled, 958s # NULL, 958s # test_fdpassing_method_marshal_hello_fd, 958s # G_TYPE_BOOLEAN, 958s # 3, 958s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 958s # 958s # } 958s # 958s # /** 958s # * test_fdpassing_call_hello_fd: 958s # * @proxy: A #TestFDPassingProxy. 958s # * @arg_greeting: Argument to pass with the method invocation. 958s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 958s # * 958s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 958s # */ 958s # void 958s # test_fdpassing_call_hello_fd ( 958s # TestFDPassing *proxy, 958s # const gchar *arg_greeting, 958s # GUnixFDList *fd_list, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 958s # "HelloFD", 958s # g_variant_new ("(s)", 958s # arg_greeting), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # fd_list, 958s # cancellable, 958s # callback, 958s # user_data); 958s # } 958s # 958s # /** 958s # * test_fdpassing_call_hello_fd_finish: 958s # * @proxy: A #TestFDPassingProxy. 958s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # test_fdpassing_call_hello_fd_finish ( 958s # TestFDPassing *proxy, 958s # gchar **out_response, 958s # GUnixFDList **out_fd_list, 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(s)", 958s # out_response); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * test_fdpassing_call_hello_fd_sync: 958s # * @proxy: A #TestFDPassingProxy. 958s # * @arg_greeting: Argument to pass with the method invocation. 958s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 958s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 958s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL. 958s # * 958s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 958s # * 958s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 958s # * 958s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 958s # */ 958s # gboolean 958s # test_fdpassing_call_hello_fd_sync ( 958s # TestFDPassing *proxy, 958s # const gchar *arg_greeting, 958s # GUnixFDList *fd_list, 958s # gchar **out_response, 958s # GUnixFDList **out_fd_list, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GVariant *_ret; 958s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 958s # "HelloFD", 958s # g_variant_new ("(s)", 958s # arg_greeting), 958s # G_DBUS_CALL_FLAGS_NONE, 958s # -1, 958s # fd_list, 958s # out_fd_list, 958s # cancellable, 958s # error); 958s # if (_ret == NULL) 958s # goto _out; 958s # g_variant_get (_ret, 958s # "(s)", 958s # out_response); 958s # g_variant_unref (_ret); 958s # _out: 958s # return _ret != NULL; 958s # } 958s # 958s # /** 958s # * test_fdpassing_complete_hello_fd: 958s # * @object: A #TestFDPassing. 958s # * @invocation: (transfer full): A #GDBusMethodInvocation. 958s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 958s # * @response: Parameter to return. 958s # * 958s # * Helper function used in service implementations to finish handling invocations of the HelloFD() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 958s # * 958s # * This method will free @invocation, you cannot use it afterwards. 958s # */ 958s # void 958s # test_fdpassing_complete_hello_fd ( 958s # TestFDPassing *object G_GNUC_UNUSED, 958s # GDBusMethodInvocation *invocation, 958s # GUnixFDList *fd_list, 958s # const gchar *response) 958s # { 958s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 958s # g_variant_new ("(s)", 958s # response), 958s # fd_list); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * TestFDPassingProxy: 958s # * 958s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * TestFDPassingProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #TestFDPassingProxy. 958s # */ 958s # 958s # struct _TestFDPassingProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (TestFDPassingProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # test_fdpassing_proxy_finalize (GObject *object) 958s # { 958s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = test_fdpassing_proxy_finalize; 958s # gobject_class->get_property = test_fdpassing_proxy_get_property; 958s # gobject_class->set_property = test_fdpassing_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 958s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * test_fdpassing_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # test_fdpassing_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_TEST_FDPASSING_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 958s # } 958s # 958s # /** 958s # * test_fdpassing_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with test_fdpassing_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # TestFDPassing * 958s # test_fdpassing_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return TEST_FDPASSING (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * test_fdpassing_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # TestFDPassing * 958s # test_fdpassing_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_TEST_FDPASSING_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 958s # if (ret != NULL) 958s # return TEST_FDPASSING (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * test_fdpassing_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # test_fdpassing_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_TEST_FDPASSING_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 958s # } 958s # 958s # /** 958s # * test_fdpassing_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # TestFDPassing * 958s # test_fdpassing_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return TEST_FDPASSING (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * test_fdpassing_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # TestFDPassing * 958s # test_fdpassing_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_TEST_FDPASSING_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "test.FDPassing", NULL); 958s # if (ret != NULL) 958s # return TEST_FDPASSING (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * TestFDPassingSkeleton: 958s # * 958s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * TestFDPassingSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #TestFDPassingSkeleton. 958s # */ 958s # 958s # struct _TestFDPassingSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _test_fdpassing_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _test_fdpassing_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _test_fdpassing_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 958s # { 958s # _test_fdpassing_skeleton_handle_method_call, 958s # _test_fdpassing_skeleton_handle_get_property, 958s # _test_fdpassing_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return test_fdpassing_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _test_fdpassing_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "test.FDPassing", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (TestFDPassingSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # test_fdpassing_skeleton_finalize (GObject *object) 958s # { 958s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * test_fdpassing_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 958s # * 958s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 958s # */ 958s # TestFDPassing * 958s # test_fdpassing_skeleton_new (void) 958s # { 958s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 958s # } 958s ok 15 __main__.TestCodegen.test_generate_rst 958s # tmpdir: /tmp/tmpgfjlwzcn 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpgfjlwzcn/tmpiaw3a4xk.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgfjlwzcn/tmpiaw3a4xk.xml', '--generate-rst', 'test'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: 958s ok 16 __main__.TestCodegen.test_generate_rst_method 958s # tmpdir: /tmp/tmpkyb6a5ot 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpkyb6a5ot/tmp9u3_ye7q.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkyb6a5ot/tmp9u3_ye7q.xml', '--generate-rst', 'test'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: 958s ok 17 __main__.TestCodegen.test_generate_rst_property 958s # tmpdir: /tmp/tmp3y5mt0v7 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmp3y5mt0v7/tmppx7kp37b.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3y5mt0v7/tmppx7kp37b.xml', '--generate-rst', 'test'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: 958s ok 18 __main__.TestCodegen.test_generate_rst_signal 958s # tmpdir: /tmp/tmpz9zbsn9r 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpz9zbsn9r/tmpfc83ax_c.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz9zbsn9r/tmpfc83ax_c.xml', '--generate-rst', 'test'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: 958s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 958s # tmpdir: /tmp/tmpb45njljy 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpb45njljy/tmp6gb_mgn0.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb45njljy/tmp6gb_mgn0.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 958s # GClosure *closure, 958s # GValue *return_value G_GNUC_UNUSED, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 958s # (void *data1, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv, 958s # void *data2); 958s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # 958s # g_return_if_fail (n_param_values == 19); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # callback (data1, 958s # g_marshal_value_peek_boolean (param_values + 1), 958s # g_marshal_value_peek_uchar (param_values + 2), 958s # g_marshal_value_peek_int (param_values + 3), 958s # g_marshal_value_peek_uint (param_values + 4), 958s # g_marshal_value_peek_int (param_values + 5), 958s # g_marshal_value_peek_uint (param_values + 6), 958s # g_marshal_value_peek_int64 (param_values + 7), 958s # g_marshal_value_peek_uint64 (param_values + 8), 958s # g_marshal_value_peek_double (param_values + 9), 958s # g_marshal_value_peek_string (param_values + 10), 958s # g_marshal_value_peek_string (param_values + 11), 958s # g_marshal_value_peek_string (param_values + 12), 958s # g_marshal_value_peek_variant (param_values + 13), 958s # g_marshal_value_peek_string (param_values + 14), 958s # g_marshal_value_peek_boxed (param_values + 15), 958s # g_marshal_value_peek_boxed (param_values + 16), 958s # g_marshal_value_peek_boxed (param_values + 17), 958s # g_marshal_value_peek_variant (param_values + 18), 958s # data2); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.SignalingIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectSignalingIface 958s # * @title: OrgProjectSignalingIface 958s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 958s # */ 958s # 958s # enum 958s # { 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 958s # }; 958s # 958s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 958s # 958s # /* ---- Introspection data for org.project.SignalingIface ---- */ 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SignalWithManyArgs", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 958s # NULL 958s # }, 958s # "signal-with-many-args" 958s # }; 958s # 958s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.SignalingIface", 958s # NULL, 958s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-signaling-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_signaling_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_signaling_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectSignalingIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.SignalingIface. 958s # */ 958s # 958s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 958s # { 958s # /* GObject signals for received D-Bus signals: */ 958s # /** 958s # * OrgProjectSignalingIface::signal-with-many-args: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_b: Argument. 958s # * @arg_an_y: Argument. 958s # * @arg_an_n: Argument. 958s # * @arg_an_q: Argument. 958s # * @arg_an_i: Argument. 958s # * @arg_an_u: Argument. 958s # * @arg_an_x: Argument. 958s # * @arg_an_t: Argument. 958s # * @arg_an_d: Argument. 958s # * @arg_an_s: Argument. 958s # * @arg_an_o: Argument. 958s # * @arg_an_g: Argument. 958s # * @arg_an_h: Argument. 958s # * @arg_an_ay: Argument. 958s # * @arg_an_as: Argument. 958s # * @arg_an_ao: Argument. 958s # * @arg_an_aay: Argument. 958s # * @arg_an_asv: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 958s # g_signal_new ("signal-with-many-args", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 958s # G_TYPE_NONE, 958s # 18, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_signal_with_many_args: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_b: Argument to pass with the signal. 958s # * @arg_an_y: Argument to pass with the signal. 958s # * @arg_an_n: Argument to pass with the signal. 958s # * @arg_an_q: Argument to pass with the signal. 958s # * @arg_an_i: Argument to pass with the signal. 958s # * @arg_an_u: Argument to pass with the signal. 958s # * @arg_an_x: Argument to pass with the signal. 958s # * @arg_an_t: Argument to pass with the signal. 958s # * @arg_an_d: Argument to pass with the signal. 958s # * @arg_an_s: Argument to pass with the signal. 958s # * @arg_an_o: Argument to pass with the signal. 958s # * @arg_an_g: Argument to pass with the signal. 958s # * @arg_an_h: Argument to pass with the signal. 958s # * @arg_an_ay: Argument to pass with the signal. 958s # * @arg_an_as: Argument to pass with the signal. 958s # * @arg_an_ao: Argument to pass with the signal. 958s # * @arg_an_aay: Argument to pass with the signal. 958s # * @arg_an_asv: Argument to pass with the signal. 958s # * 958s # * Emits the "SignalWithManyArgs" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_signal_with_many_args ( 958s # OrgProjectSignalingIface *object, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS], 0, arg_an_b, arg_an_y, arg_an_n, arg_an_q, arg_an_i, arg_an_u, arg_an_x, arg_an_t, arg_an_d, arg_an_s, arg_an_o, arg_an_g, arg_an_h, arg_an_ay, arg_an_as, arg_an_ao, arg_an_aay, arg_an_asv); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceProxy: 958s # * 958s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectSignalingIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectSignalingIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_signaling_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_signaling_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_signaling_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceSkeleton: 958s # * 958s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectSignalingIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_signaling_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_signaling_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_signaling_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 958s # { 958s # _org_project_signaling_iface_skeleton_handle_method_call, 958s # _org_project_signaling_iface_skeleton_handle_get_property, 958s # _org_project_signaling_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_signaling_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 958s # OrgProjectSignalingIface *object, 958s # gboolean arg_an_b, 958s # guchar arg_an_y, 958s # gint16 arg_an_n, 958s # guint16 arg_an_q, 958s # gint arg_an_i, 958s # guint arg_an_u, 958s # gint64 arg_an_x, 958s # guint64 arg_an_t, 958s # gdouble arg_an_d, 958s # const gchar *arg_an_s, 958s # const gchar *arg_an_o, 958s # const gchar *arg_an_g, 958s # GVariant *arg_an_h, 958s # const gchar *arg_an_ay, 958s # const gchar *const *arg_an_as, 958s # const gchar *const *arg_an_ao, 958s # const gchar *const *arg_an_aay, 958s # GVariant *arg_an_asv) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 958s # arg_an_b, 958s # arg_an_y, 958s # arg_an_n, 958s # arg_an_q, 958s # arg_an_i, 958s # arg_an_u, 958s # arg_an_x, 958s # arg_an_t, 958s # arg_an_d, 958s # arg_an_s, 958s # arg_an_o, 958s # arg_an_g, 958s # arg_an_h, 958s # arg_an_ay, 958s # arg_an_as, 958s # arg_an_ao, 958s # arg_an_aay, 958s # arg_an_asv)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_signaling_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 958s # { 958s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 958s # } 958s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 958s # tmpdir: /tmp/tmp_fwi8pc4 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmp_fwi8pc4/tmp28ggogih.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_fwi8pc4/tmp28ggogih.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_VOID__INT64 ( 958s # GClosure *closure, 958s # GValue *return_value G_GNUC_UNUSED, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 958s # (void *data1, 958s # gint64 arg_an_x, 958s # void *data2); 958s # _GDbusCodegenMarshalVoid_Int64Func callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # callback (data1, 958s # g_marshal_value_peek_int64 (param_values + 1), 958s # data2); 958s # } 958s # 958s # static void 958s # _g_dbus_codegen_marshal_VOID__UINT64 ( 958s # GClosure *closure, 958s # GValue *return_value G_GNUC_UNUSED, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint G_GNUC_UNUSED, 958s # void *marshal_data) 958s # { 958s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 958s # (void *data1, 958s # guint64 arg_an_t, 958s # void *data2); 958s # _GDbusCodegenMarshalVoid_Uint64Func callback; 958s # GCClosure *cc = (GCClosure*) closure; 958s # void *data1, *data2; 958s # 958s # g_return_if_fail (n_param_values == 2); 958s # 958s # if (G_CCLOSURE_SWAP_DATA (closure)) 958s # { 958s # data1 = closure->data; 958s # data2 = g_value_peek_pointer (param_values + 0); 958s # } 958s # else 958s # { 958s # data1 = g_value_peek_pointer (param_values + 0); 958s # data2 = closure->data; 958s # } 958s # 958s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 958s # (marshal_data ? marshal_data : cc->callback); 958s # 958s # callback (data1, 958s # g_marshal_value_peek_uint64 (param_values + 1), 958s # data2); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.SignalingIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectSignalingIface 958s # * @title: OrgProjectSignalingIface 958s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 958s # */ 958s # 958s # enum 958s # { 958s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 958s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 958s # }; 958s # 958s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 958s # 958s # /* ---- Introspection data for org.project.SignalingIface ---- */ 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 958s # { 958s # { 958s # -1, 958s # (gchar *) "NoArgSignal", 958s # NULL, 958s # NULL 958s # }, 958s # "no-arg-signal" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_b", 958s # (gchar *) "b", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalB", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-b" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_y", 958s # (gchar *) "y", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalY", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-y" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_n", 958s # (gchar *) "n", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalN", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-n" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_q", 958s # (gchar *) "q", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalQ", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-q" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_i", 958s # (gchar *) "i", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalI", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-i" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_u", 958s # (gchar *) "u", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalU", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-u" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_x", 958s # (gchar *) "x", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalX", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-x" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_t", 958s # (gchar *) "t", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalT", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-t" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_d", 958s # (gchar *) "d", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalD", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-d" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_s", 958s # (gchar *) "s", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalS", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-s" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_o", 958s # (gchar *) "o", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalO", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-o" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_g", 958s # (gchar *) "g", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalG", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-g" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_h", 958s # (gchar *) "h", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalH", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-h" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ay", 958s # (gchar *) "ay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalAY", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-ay" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_as", 958s # (gchar *) "as", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalAS", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-as" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_ao", 958s # (gchar *) "ao", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalAO", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-ao" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_aay", 958s # (gchar *) "aay", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalAAY", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-aay" 958s # }; 958s # 958s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "an_asv", 958s # (gchar *) "a{sv}", 958s # NULL 958s # }, 958s # FALSE 958s # }; 958s # 958s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SingleArgSignalASV", 958s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 958s # NULL 958s # }, 958s # "single-arg-signal-asv" 958s # }; 958s # 958s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 958s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.SignalingIface", 958s # NULL, 958s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-signaling-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_signaling_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_signaling_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VOID (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__BOOLEAN (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__UCHAR (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__INT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__UINT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__INT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__UINT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__DOUBLE (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__STRING (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__BOXED (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__BOXED (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__BOXED (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VARIANT (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectSignalingIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 958s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 958s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 958s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 958s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 958s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 958s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 958s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 958s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 958s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 958s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 958s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 958s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 958s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 958s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 958s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 958s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 958s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 958s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.SignalingIface. 958s # */ 958s # 958s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 958s # { 958s # /* GObject signals for received D-Bus signals: */ 958s # /** 958s # * OrgProjectSignalingIface::no-arg-signal: 958s # * @object: A #OrgProjectSignalingIface. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 958s # g_signal_new ("no-arg-signal", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_no_arg_signal, 958s # G_TYPE_NONE, 958s # 0); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-b: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_b: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 958s # g_signal_new ("single-arg-signal-b", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_BOOLEAN); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-y: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_y: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 958s # g_signal_new ("single-arg-signal-y", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_UCHAR); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-n: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_n: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 958s # g_signal_new ("single-arg-signal-n", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_INT); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-q: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_q: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 958s # g_signal_new ("single-arg-signal-q", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_UINT); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-i: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_i: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 958s # g_signal_new ("single-arg-signal-i", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_INT); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-u: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_u: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 958s # g_signal_new ("single-arg-signal-u", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_UINT); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-x: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_x: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 958s # g_signal_new ("single-arg-signal-x", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_INT64); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-t: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_t: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 958s # g_signal_new ("single-arg-signal-t", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_UINT64); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-d: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_d: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 958s # g_signal_new ("single-arg-signal-d", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_DOUBLE); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-s: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_s: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 958s # g_signal_new ("single-arg-signal-s", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRING); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-o: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_o: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 958s # g_signal_new ("single-arg-signal-o", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRING); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-g: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_g: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 958s # g_signal_new ("single-arg-signal-g", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRING); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-h: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_h: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 958s # g_signal_new ("single-arg-signal-h", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_VARIANT); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-ay: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_ay: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 958s # g_signal_new ("single-arg-signal-ay", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRING); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-as: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_as: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 958s # g_signal_new ("single-arg-signal-as", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRV); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-ao: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_ao: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 958s # g_signal_new ("single-arg-signal-ao", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRV); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-aay: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_aay: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 958s # g_signal_new ("single-arg-signal-aay", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_STRV); 958s # 958s # /** 958s # * OrgProjectSignalingIface::single-arg-signal-asv: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_asv: Argument. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 958s # g_signal_new ("single-arg-signal-asv", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 958s # G_TYPE_NONE, 958s # 1, G_TYPE_VARIANT); 958s # 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_no_arg_signal: 958s # * @object: A #OrgProjectSignalingIface. 958s # * 958s # * Emits the "NoArgSignal" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_no_arg_signal ( 958s # OrgProjectSignalingIface *object) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_b: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_b: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalB" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_b ( 958s # OrgProjectSignalingIface *object, 958s # gboolean arg_an_b) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_y: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_y: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalY" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_y ( 958s # OrgProjectSignalingIface *object, 958s # guchar arg_an_y) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_n: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_n: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalN" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_n ( 958s # OrgProjectSignalingIface *object, 958s # gint16 arg_an_n) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_q: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_q: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalQ" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_q ( 958s # OrgProjectSignalingIface *object, 958s # guint16 arg_an_q) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_i: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_i: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalI" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_i ( 958s # OrgProjectSignalingIface *object, 958s # gint arg_an_i) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_u: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_u: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalU" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_u ( 958s # OrgProjectSignalingIface *object, 958s # guint arg_an_u) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_x: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_x: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalX" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_x ( 958s # OrgProjectSignalingIface *object, 958s # gint64 arg_an_x) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_t: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_t: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalT" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_t ( 958s # OrgProjectSignalingIface *object, 958s # guint64 arg_an_t) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_d: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_d: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalD" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_d ( 958s # OrgProjectSignalingIface *object, 958s # gdouble arg_an_d) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_s: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_s: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalS" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_s ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_s) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_o: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_o: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalO" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_o ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_o) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_g: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_g: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalG" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_g ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_g) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_h: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_h: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalH" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_h ( 958s # OrgProjectSignalingIface *object, 958s # GVariant *arg_an_h) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_ay: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_ay: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalAY" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_ay ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_ay) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_as: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_as: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalAS" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_as ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *const *arg_an_as) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_ao: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_ao: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalAO" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_ao ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *const *arg_an_ao) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_aay: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_aay: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalAAY" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_aay ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *const *arg_an_aay) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_single_arg_signal_asv: 958s # * @object: A #OrgProjectSignalingIface. 958s # * @arg_an_asv: Argument to pass with the signal. 958s # * 958s # * Emits the "SingleArgSignalASV" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_single_arg_signal_asv ( 958s # OrgProjectSignalingIface *object, 958s # GVariant *arg_an_asv) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceProxy: 958s # * 958s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectSignalingIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectSignalingIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_signaling_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_signaling_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_signaling_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceSkeleton: 958s # * 958s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectSignalingIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_signaling_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_signaling_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_signaling_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 958s # { 958s # _org_project_signaling_iface_skeleton_handle_method_call, 958s # _org_project_signaling_iface_skeleton_handle_get_property, 958s # _org_project_signaling_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_signaling_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_no_arg_signal ( 958s # OrgProjectSignalingIface *object) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 958s # OrgProjectSignalingIface *object, 958s # gboolean arg_an_b) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 958s # arg_an_b)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 958s # OrgProjectSignalingIface *object, 958s # guchar arg_an_y) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 958s # arg_an_y)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 958s # OrgProjectSignalingIface *object, 958s # gint16 arg_an_n) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 958s # arg_an_n)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 958s # OrgProjectSignalingIface *object, 958s # guint16 arg_an_q) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 958s # arg_an_q)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 958s # OrgProjectSignalingIface *object, 958s # gint arg_an_i) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 958s # arg_an_i)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 958s # OrgProjectSignalingIface *object, 958s # guint arg_an_u) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 958s # arg_an_u)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 958s # OrgProjectSignalingIface *object, 958s # gint64 arg_an_x) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 958s # arg_an_x)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 958s # OrgProjectSignalingIface *object, 958s # guint64 arg_an_t) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 958s # arg_an_t)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 958s # OrgProjectSignalingIface *object, 958s # gdouble arg_an_d) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 958s # arg_an_d)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_s) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 958s # arg_an_s)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_o) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 958s # arg_an_o)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_g) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 958s # arg_an_g)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 958s # OrgProjectSignalingIface *object, 958s # GVariant *arg_an_h) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 958s # arg_an_h)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *arg_an_ay) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 958s # arg_an_ay)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *const *arg_an_as) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 958s # arg_an_as)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *const *arg_an_ao) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 958s # arg_an_ao)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 958s # OrgProjectSignalingIface *object, 958s # const gchar *const *arg_an_aay) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 958s # arg_an_aay)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 958s # OrgProjectSignalingIface *object, 958s # GVariant *arg_an_asv) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 958s # arg_an_asv)); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_signaling_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 958s # { 958s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 958s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 958s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 958s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 958s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 958s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 958s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 958s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 958s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 958s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 958s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 958s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 958s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 958s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 958s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 958s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 958s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 958s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 958s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 958s # } 958s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 958s # tmpdir: /tmp/tmpfg7j9ub0 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmpfg7j9ub0/tmpkg_p2221.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfg7j9ub0/tmpkg_p2221.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.UsefulInterface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectUsefulInterface 958s # * @title: OrgProjectUsefulInterface 958s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 958s # */ 958s # 958s # enum 958s # { 958s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 958s # }; 958s # 958s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 958s # 958s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SimpleSignal", 958s # NULL, 958s # NULL 958s # }, 958s # "simple-signal" 958s # }; 958s # 958s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 958s # { 958s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.UsefulInterface", 958s # NULL, 958s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-useful-interface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_useful_interface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_useful_interface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_useful_interface_signal_marshal_simple_signal ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VOID (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectUsefulInterface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 958s # */ 958s # 958s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # /* GObject signals for received D-Bus signals: */ 958s # /** 958s # * OrgProjectUsefulInterface::simple-signal: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 958s # g_signal_new ("simple-signal", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 958s # NULL, 958s # NULL, 958s # org_project_useful_interface_signal_marshal_simple_signal, 958s # G_TYPE_NONE, 958s # 0); 958s # 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_emit_simple_signal: 958s # * @object: A #OrgProjectUsefulInterface. 958s # * 958s # * Emits the "SimpleSignal" D-Bus signal. 958s # */ 958s # void 958s # org_project_useful_interface_emit_simple_signal ( 958s # OrgProjectUsefulInterface *object) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxy: 958s # * 958s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 958s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 958s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_useful_interface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.UsefulInterface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeleton: 958s # * 958s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectUsefulInterfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_useful_interface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_useful_interface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_useful_interface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 958s # { 958s # _org_project_useful_interface_skeleton_handle_method_call, 958s # _org_project_useful_interface_skeleton_handle_get_property, 958s # _org_project_useful_interface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_useful_interface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_useful_interface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # _org_project_useful_interface_on_signal_simple_signal ( 958s # OrgProjectUsefulInterface *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_useful_interface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 958s # { 958s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 958s # } 958s # 958s # /** 958s # * org_project_useful_interface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectUsefulInterface * 958s # org_project_useful_interface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.OtherIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectOtherIface 958s # * @title: OrgProjectOtherIface 958s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 958s # */ 958s # 958s # enum 958s # { 958s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 958s # }; 958s # 958s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 958s # 958s # /* ---- Introspection data for org.project.OtherIface ---- */ 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SimpleSignal", 958s # NULL, 958s # NULL 958s # }, 958s # "simple-signal" 958s # }; 958s # 958s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 958s # { 958s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.OtherIface", 958s # NULL, 958s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-other-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_other_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_other_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_other_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_other_iface_signal_marshal_simple_signal ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VOID (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectOtherIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.OtherIface. 958s # */ 958s # 958s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 958s # { 958s # /* GObject signals for received D-Bus signals: */ 958s # /** 958s # * OrgProjectOtherIface::simple-signal: 958s # * @object: A #OrgProjectOtherIface. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 958s # g_signal_new ("simple-signal", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 958s # NULL, 958s # NULL, 958s # org_project_other_iface_signal_marshal_simple_signal, 958s # G_TYPE_NONE, 958s # 0); 958s # 958s # } 958s # 958s # /** 958s # * org_project_other_iface_emit_simple_signal: 958s # * @object: A #OrgProjectOtherIface. 958s # * 958s # * Emits the "SimpleSignal" D-Bus signal. 958s # */ 958s # void 958s # org_project_other_iface_emit_simple_signal ( 958s # OrgProjectOtherIface *object) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherIfaceProxy: 958s # * 958s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectOtherIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_other_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherIface * 958s # org_project_other_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherIface * 958s # org_project_other_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_other_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherIface * 958s # org_project_other_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherIface * 958s # org_project_other_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherIfaceSkeleton: 958s # * 958s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectOtherIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_other_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_other_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_other_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 958s # { 958s # _org_project_other_iface_skeleton_handle_method_call, 958s # _org_project_other_iface_skeleton_handle_get_property, 958s # _org_project_other_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_other_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_other_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # _org_project_other_iface_on_signal_simple_signal ( 958s # OrgProjectOtherIface *object) 958s # { 958s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 958s # { 958s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 958s # } 958s # 958s # /** 958s # * org_project_other_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectOtherIface * 958s # org_project_other_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 958s # } 958s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 958s # tmpdir: /tmp/tmp_fqa1_8r 958s # codegen: /usr/bin/gdbus-codegen 958s # /tmp/tmp_fqa1_8r/tmpiekux3rz.xml: 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # 958s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_fqa1_8r/tmpiekux3rz.xml', '--output', '-', '--body'] 958s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 958s # Output: /* 958s # * This file is generated by gdbus-codegen, do not modify it. 958s # * 958s # * The license of this code is the same as for the D-Bus interface description 958s # * it was derived from. Note that it links to GLib, so must comply with the 958s # * LGPL linking clauses. 958s # */ 958s # 958s # #ifdef HAVE_CONFIG_H 958s # # include "config.h" 958s # #endif 958s # 958s # #include 958s # #ifdef G_OS_UNIX 958s # # include 958s # #endif 958s # 958s # #ifdef G_ENABLE_DEBUG 958s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 958s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 958s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 958s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 958s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 958s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 958s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 958s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 958s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 958s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 958s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 958s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 958s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 958s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 958s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 958s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 958s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 958s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 958s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 958s # #else /* !G_ENABLE_DEBUG */ 958s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 958s # * Do not access GValues directly in your code. Instead, use the 958s # * g_value_get_*() functions 958s # */ 958s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 958s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 958s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 958s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 958s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 958s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 958s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 958s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 958s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 958s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 958s # #endif /* !G_ENABLE_DEBUG */ 958s # 958s # typedef struct 958s # { 958s # GDBusArgInfo parent_struct; 958s # gboolean use_gvariant; 958s # } _ExtendedGDBusArgInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusMethodInfo parent_struct; 958s # const gchar *signal_name; 958s # gboolean pass_fdlist; 958s # } _ExtendedGDBusMethodInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusSignalInfo parent_struct; 958s # const gchar *signal_name; 958s # } _ExtendedGDBusSignalInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusPropertyInfo parent_struct; 958s # const gchar *hyphen_name; 958s # guint use_gvariant : 1; 958s # guint emits_changed_signal : 1; 958s # } _ExtendedGDBusPropertyInfo; 958s # 958s # typedef struct 958s # { 958s # GDBusInterfaceInfo parent_struct; 958s # const gchar *hyphen_name; 958s # } _ExtendedGDBusInterfaceInfo; 958s # 958s # typedef struct 958s # { 958s # const _ExtendedGDBusPropertyInfo *info; 958s # guint prop_id; 958s # GValue orig_value; /* the value before the change */ 958s # } ChangedProperty; 958s # 958s # static void 958s # _changed_property_free (ChangedProperty *data) 958s # { 958s # g_value_unset (&data->orig_value); 958s # g_free (data); 958s # } 958s # 958s # static gboolean 958s # _g_strv_equal0 (gchar **a, gchar **b) 958s # { 958s # gboolean ret = FALSE; 958s # guint n; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # if (g_strv_length (a) != g_strv_length (b)) 958s # goto out; 958s # for (n = 0; a[n] != NULL; n++) 958s # if (g_strcmp0 (a[n], b[n]) != 0) 958s # goto out; 958s # ret = TRUE; 958s # out: 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _g_variant_equal0 (GVariant *a, GVariant *b) 958s # { 958s # gboolean ret = FALSE; 958s # if (a == NULL && b == NULL) 958s # { 958s # ret = TRUE; 958s # goto out; 958s # } 958s # if (a == NULL || b == NULL) 958s # goto out; 958s # ret = g_variant_equal (a, b); 958s # out: 958s # return ret; 958s # } 958s # 958s # G_GNUC_UNUSED static gboolean 958s # _g_value_equal (const GValue *a, const GValue *b) 958s # { 958s # gboolean ret = FALSE; 958s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 958s # switch (G_VALUE_TYPE (a)) 958s # { 958s # case G_TYPE_BOOLEAN: 958s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 958s # break; 958s # case G_TYPE_UCHAR: 958s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 958s # break; 958s # case G_TYPE_INT: 958s # ret = (g_value_get_int (a) == g_value_get_int (b)); 958s # break; 958s # case G_TYPE_UINT: 958s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 958s # break; 958s # case G_TYPE_INT64: 958s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 958s # break; 958s # case G_TYPE_UINT64: 958s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 958s # break; 958s # case G_TYPE_DOUBLE: 958s # { 958s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 958s # gdouble da = g_value_get_double (a); 958s # gdouble db = g_value_get_double (b); 958s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 958s # } 958s # break; 958s # case G_TYPE_STRING: 958s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 958s # break; 958s # case G_TYPE_VARIANT: 958s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 958s # break; 958s # default: 958s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 958s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 958s # else 958s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 958s # break; 958s # } 958s # return ret; 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.SignalingIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectSignalingIface 958s # * @title: OrgProjectSignalingIface 958s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 958s # */ 958s # 958s # enum 958s # { 958s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 958s # }; 958s # 958s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 958s # 958s # /* ---- Introspection data for org.project.SignalingIface ---- */ 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SimpleSignal", 958s # NULL, 958s # NULL 958s # }, 958s # "simple-signal" 958s # }; 958s # 958s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 958s # { 958s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.SignalingIface", 958s # NULL, 958s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-signaling-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_signaling_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_signaling_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_signaling_iface_signal_marshal_simple_signal ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VOID (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectSignalingIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.SignalingIface. 958s # */ 958s # 958s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 958s # { 958s # /* GObject signals for received D-Bus signals: */ 958s # /** 958s # * OrgProjectSignalingIface::simple-signal: 958s # * @object: A #OrgProjectSignalingIface. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 958s # g_signal_new ("simple-signal", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 958s # NULL, 958s # NULL, 958s # org_project_signaling_iface_signal_marshal_simple_signal, 958s # G_TYPE_NONE, 958s # 0); 958s # 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_emit_simple_signal: 958s # * @object: A #OrgProjectSignalingIface. 958s # * 958s # * Emits the "SimpleSignal" D-Bus signal. 958s # */ 958s # void 958s # org_project_signaling_iface_emit_simple_signal ( 958s # OrgProjectSignalingIface *object) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceProxy: 958s # * 958s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectSignalingIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectSignalingIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_signaling_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_signaling_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_signaling_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceSkeleton: 958s # * 958s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectSignalingIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectSignalingIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_signaling_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_signaling_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_signaling_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 958s # { 958s # _org_project_signaling_iface_skeleton_handle_method_call, 958s # _org_project_signaling_iface_skeleton_handle_get_property, 958s # _org_project_signaling_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_signaling_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # _org_project_signaling_iface_on_signal_simple_signal ( 958s # OrgProjectSignalingIface *object) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_signaling_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 958s # { 958s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 958s # } 958s # 958s # /** 958s # * org_project_signaling_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectSignalingIface * 958s # org_project_signaling_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ 958s # * Code for interface org.project.OtherSignalingIface 958s # * ------------------------------------------------------------------------ 958s # */ 958s # 958s # /** 958s # * SECTION:OrgProjectOtherSignalingIface 958s # * @title: OrgProjectOtherSignalingIface 958s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 958s # * 958s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 958s # */ 958s # 958s # enum 958s # { 958s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 958s # }; 958s # 958s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 958s # 958s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 958s # 958s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 958s # { 958s # { 958s # -1, 958s # (gchar *) "SimpleSignal", 958s # NULL, 958s # NULL 958s # }, 958s # "simple-signal" 958s # }; 958s # 958s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 958s # { 958s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 958s # NULL 958s # }; 958s # 958s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 958s # { 958s # { 958s # -1, 958s # (gchar *) "org.project.OtherSignalingIface", 958s # NULL, 958s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 958s # NULL, 958s # NULL 958s # }, 958s # "org-project-other-signaling-iface", 958s # }; 958s # 958s # 958s # /** 958s # * org_project_other_signaling_iface_interface_info: 958s # * 958s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 958s # * 958s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 958s # */ 958s # GDBusInterfaceInfo * 958s # org_project_other_signaling_iface_interface_info (void) 958s # { 958s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_override_properties: 958s # * @klass: The class structure for a #GObject derived class. 958s # * @property_id_begin: The property id to assign to the first overridden property. 958s # * 958s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 958s # * The properties are overridden in the order they are defined. 958s # * 958s # * Returns: The last property id. 958s # */ 958s # guint 958s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 958s # { 958s # return property_id_begin - 1; 958s # } 958s # 958s # 958s # inline static void 958s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 958s # GClosure *closure, 958s # GValue *return_value, 958s # unsigned int n_param_values, 958s # const GValue *param_values, 958s # void *invocation_hint, 958s # void *marshal_data) 958s # { 958s # g_cclosure_marshal_VOID__VOID (closure, 958s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 958s # } 958s # 958s # 958s # /** 958s # * OrgProjectOtherSignalingIface: 958s # * 958s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherSignalingIfaceIface: 958s # * @parent_iface: The parent interface. 958s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 958s # * 958s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 958s # */ 958s # 958s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 958s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 958s # 958s # static void 958s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 958s # { 958s # /* GObject signals for received D-Bus signals: */ 958s # /** 958s # * OrgProjectOtherSignalingIface::simple-signal: 958s # * @object: A #OrgProjectOtherSignalingIface. 958s # * 958s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 958s # * 958s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 958s # */ 958s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 958s # g_signal_new ("simple-signal", 958s # G_TYPE_FROM_INTERFACE (iface), 958s # G_SIGNAL_RUN_LAST, 958s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 958s # NULL, 958s # NULL, 958s # org_project_other_signaling_iface_signal_marshal_simple_signal, 958s # G_TYPE_NONE, 958s # 0); 958s # 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_emit_simple_signal: 958s # * @object: A #OrgProjectOtherSignalingIface. 958s # * 958s # * Emits the "SimpleSignal" D-Bus signal. 958s # */ 958s # void 958s # org_project_other_signaling_iface_emit_simple_signal ( 958s # OrgProjectOtherSignalingIface *object) 958s # { 958s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 958s # } 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherSignalingIfaceProxy: 958s # * 958s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherSignalingIfaceProxyClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 958s # */ 958s # 958s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 958s # { 958s # GData *qdata; 958s # }; 958s # 958s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 958s # { 958s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 958s # g_datalist_clear (&proxy->priv->qdata); 958s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 958s # guint prop_id G_GNUC_UNUSED, 958s # const GValue *value G_GNUC_UNUSED, 958s # GParamSpec *pspec G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 958s # const gchar *sender_name G_GNUC_UNUSED, 958s # const gchar *signal_name, 958s # GVariant *parameters) 958s # { 958s # _ExtendedGDBusSignalInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # gsize n; 958s # guint signal_id; 958s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 958s # if (info == NULL) 958s # return; 958s # num_params = g_variant_n_children (parameters); 958s # paramv = g_new0 (GValue, num_params + 1); 958s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[0], proxy); 958s # g_variant_iter_init (&iter, parameters); 958s # n = 1; 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 958s # g_signal_emitv (paramv, signal_id, 0, NULL); 958s # for (n = 0; n < num_params + 1; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 958s # GVariant *changed_properties, 958s # const gchar *const *invalidated_properties) 958s # { 958s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 958s # guint n; 958s # const gchar *key; 958s # GVariantIter *iter; 958s # _ExtendedGDBusPropertyInfo *info; 958s # g_variant_get (changed_properties, "a{sv}", &iter); 958s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 958s # g_datalist_remove_data (&proxy->priv->qdata, key); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # g_variant_iter_free (iter); 958s # for (n = 0; invalidated_properties[n] != NULL; n++) 958s # { 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 958s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 958s # if (info != NULL) 958s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 958s # } 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 958s # #else 958s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 958s # #endif 958s # 958s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusProxyClass *proxy_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 958s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 958s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 958s # 958s # proxy_class = G_DBUS_PROXY_CLASS (klass); 958s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 958s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_proxy_new: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_signaling_iface_proxy_new ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_proxy_new_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherSignalingIface * 958s # org_project_other_signaling_iface_proxy_new_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_proxy_new_sync: 958s # * @connection: A #GDBusConnection. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherSignalingIface * 958s # org_project_other_signaling_iface_proxy_new_sync ( 958s # GDBusConnection *connection, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /** 958s # * org_project_other_signaling_iface_proxy_new_for_bus: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 958s # * @user_data: User data to pass to @callback. 958s # * 958s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 958s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 958s # * 958s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 958s # */ 958s # void 958s # org_project_other_signaling_iface_proxy_new_for_bus ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GAsyncReadyCallback callback, 958s # gpointer user_data) 958s # { 958s # g_async_initable_new_async (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 958s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 958s # * @error: Return location for error or %NULL 958s # * 958s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherSignalingIface * 958s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 958s # GAsyncResult *res, 958s # GError **error) 958s # { 958s # GObject *ret; 958s # GObject *source_object; 958s # source_object = g_async_result_get_source_object (res); 958s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 958s # g_object_unref (source_object); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 958s # * @bus_type: A #GBusType. 958s # * @flags: Flags from the #GDBusProxyFlags enumeration. 958s # * @name: A bus name (well-known or unique). 958s # * @object_path: An object path. 958s # * @cancellable: (nullable): A #GCancellable or %NULL. 958s # * @error: Return location for error or %NULL 958s # * 958s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 958s # * 958s # * The calling thread is blocked until a reply is received. 958s # * 958s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 958s # */ 958s # OrgProjectOtherSignalingIface * 958s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 958s # GBusType bus_type, 958s # GDBusProxyFlags flags, 958s # const gchar *name, 958s # const gchar *object_path, 958s # GCancellable *cancellable, 958s # GError **error) 958s # { 958s # GInitable *ret; 958s # ret = g_initable_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.OtherSignalingIface", NULL); 958s # if (ret != NULL) 958s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 958s # else 958s # return NULL; 958s # } 958s # 958s # 958s # /* ------------------------------------------------------------------------ */ 958s # 958s # /** 958s # * OrgProjectOtherSignalingIfaceSkeleton: 958s # * 958s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 958s # */ 958s # 958s # /** 958s # * OrgProjectOtherSignalingIfaceSkeletonClass: 958s # * @parent_class: The parent class. 958s # * 958s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 958s # */ 958s # 958s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 958s # { 958s # GValue *properties; 958s # GList *changed_properties; 958s # GSource *changed_properties_idle_source; 958s # GMainContext *context; 958s # GMutex lock; 958s # }; 958s # 958s # static void 958s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name, 958s # const gchar *method_name, 958s # GVariant *parameters, 958s # GDBusMethodInvocation *invocation, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 958s # _ExtendedGDBusMethodInfo *info; 958s # GVariantIter iter; 958s # GVariant *child; 958s # GValue *paramv; 958s # gsize num_params; 958s # guint num_extra; 958s # gsize n; 958s # guint signal_id; 958s # GValue return_value = G_VALUE_INIT; 958s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 958s # g_assert (info != NULL); 958s # num_params = g_variant_n_children (parameters); 958s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 958s # n = 0; 958s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 958s # g_value_set_object (¶mv[n++], skeleton); 958s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 958s # g_value_set_object (¶mv[n++], invocation); 958s # if (info->pass_fdlist) 958s # { 958s # #ifdef G_OS_UNIX 958s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 958s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 958s # #else 958s # g_assert_not_reached (); 958s # #endif 958s # } 958s # g_variant_iter_init (&iter, parameters); 958s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 958s # { 958s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 958s # if (arg_info->use_gvariant) 958s # { 958s # g_value_init (¶mv[n], G_TYPE_VARIANT); 958s # g_value_set_variant (¶mv[n], child); 958s # n++; 958s # } 958s # else 958s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 958s # g_variant_unref (child); 958s # } 958s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 958s # g_value_init (&return_value, G_TYPE_BOOLEAN); 958s # g_signal_emitv (paramv, signal_id, 0, &return_value); 958s # if (!g_value_get_boolean (&return_value)) 958s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 958s # g_value_unset (&return_value); 958s # for (n = 0; n < num_params + num_extra; n++) 958s # g_value_unset (¶mv[n]); 958s # g_free (paramv); 958s # } 958s # 958s # static GVariant * 958s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # GVariant *ret; 958s # ret = NULL; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # g_value_init (&value, pspec->value_type); 958s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 958s # g_value_unset (&value); 958s # } 958s # return ret; 958s # } 958s # 958s # static gboolean 958s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 958s # GDBusConnection *connection G_GNUC_UNUSED, 958s # const gchar *sender G_GNUC_UNUSED, 958s # const gchar *object_path G_GNUC_UNUSED, 958s # const gchar *interface_name G_GNUC_UNUSED, 958s # const gchar *property_name, 958s # GVariant *variant, 958s # GError **error, 958s # gpointer user_data) 958s # { 958s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 958s # GValue value = G_VALUE_INIT; 958s # GParamSpec *pspec; 958s # _ExtendedGDBusPropertyInfo *info; 958s # gboolean ret; 958s # ret = FALSE; 958s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 958s # g_assert (info != NULL); 958s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 958s # if (pspec == NULL) 958s # { 958s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 958s # } 958s # else 958s # { 958s # if (info->use_gvariant) 958s # g_value_set_variant (&value, variant); 958s # else 958s # g_dbus_gvariant_to_gvalue (variant, &value); 958s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 958s # g_value_unset (&value); 958s # ret = TRUE; 958s # } 958s # return ret; 958s # } 958s # 958s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 958s # { 958s # _org_project_other_signaling_iface_skeleton_handle_method_call, 958s # _org_project_other_signaling_iface_skeleton_handle_get_property, 958s # _org_project_other_signaling_iface_skeleton_handle_set_property, 958s # {NULL} 958s # }; 958s # 958s # static GDBusInterfaceInfo * 958s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return org_project_other_signaling_iface_interface_info (); 958s # } 958s # 958s # static GDBusInterfaceVTable * 958s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 958s # { 958s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 958s # } 958s # 958s # static GVariant * 958s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 958s # { 958s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 958s # 958s # GVariantBuilder builder; 958s # guint n; 958s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 958s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 958s # goto out; 958s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 958s # { 958s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 958s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 958s # { 958s # GVariant *value; 958s # value = _org_project_other_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", info->name, NULL, skeleton); 958s # if (value != NULL) 958s # { 958s # g_variant_take_ref (value); 958s # g_variant_builder_add (&builder, "{sv}", info->name, value); 958s # g_variant_unref (value); 958s # } 958s # } 958s # } 958s # out: 958s # return g_variant_builder_end (&builder); 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 958s # { 958s # } 958s # 958s # static void 958s # _org_project_other_signaling_iface_on_signal_simple_signal ( 958s # OrgProjectOtherSignalingIface *object) 958s # { 958s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 958s # 958s # GList *connections, *l; 958s # GVariant *signal_variant; 958s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 958s # 958s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 958s # for (l = connections; l != NULL; l = l->next) 958s # { 958s # GDBusConnection *connection = l->data; 958s # g_dbus_connection_emit_signal (connection, 958s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 958s # signal_variant, NULL); 958s # } 958s # g_variant_unref (signal_variant); 958s # g_list_free_full (connections, g_object_unref); 958s # } 958s # 958s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 958s # 958s # #else 958s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 958s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 958s # 958s # #endif 958s # static void 958s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 958s # { 958s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 958s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 958s # if (skeleton->priv->changed_properties_idle_source != NULL) 958s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 958s # g_main_context_unref (skeleton->priv->context); 958s # g_mutex_clear (&skeleton->priv->lock); 958s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 958s # { 958s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 958s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 958s # #else 958s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 958s # #endif 958s # 958s # g_mutex_init (&skeleton->priv->lock); 958s # skeleton->priv->context = g_main_context_ref_thread_default (); 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 958s # { 958s # GObjectClass *gobject_class; 958s # GDBusInterfaceSkeletonClass *skeleton_class; 958s # 958s # gobject_class = G_OBJECT_CLASS (klass); 958s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 958s # 958s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 958s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 958s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 958s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 958s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 958s # 958s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 958s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 958s # #endif 958s # } 958s # 958s # static void 958s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 958s # { 958s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 958s # } 958s # 958s # /** 958s # * org_project_other_signaling_iface_skeleton_new: 958s # * 958s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 958s # * 958s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 958s # */ 958s # OrgProjectOtherSignalingIface * 958s # org_project_other_signaling_iface_skeleton_new (void) 958s # { 958s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 958s # } 959s # Executing: glib/codegen.py.test 959s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 959s # tmpdir: /tmp/tmp6mrvrmy5 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp6mrvrmy5/tmp4is735zu.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmp4is735zu.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalB", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-b" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOOLEAN (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-b: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_b: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 959s # g_signal_new ("single-arg-signal-b", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_BOOLEAN); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_b: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_b: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalB" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_b ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_arg_b) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_arg_b) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 959s # arg_arg_b)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpwlq_f703.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpwlq_f703.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalY", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-y" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__UCHAR (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-y: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_y: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 959s # g_signal_new ("single-arg-signal-y", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UCHAR); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_y: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_y: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalY" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_y ( 959s # OrgProjectSignalingIface *object, 959s # guchar arg_arg_y) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 959s # OrgProjectSignalingIface *object, 959s # guchar arg_arg_y) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 959s # arg_arg_y)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmps55b4j9t.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmps55b4j9t.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalN", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-n" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__INT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-n: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_n: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 959s # g_signal_new ("single-arg-signal-n", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_INT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_n: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_n: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalN" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_n ( 959s # OrgProjectSignalingIface *object, 959s # gint16 arg_arg_n) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 959s # OrgProjectSignalingIface *object, 959s # gint16 arg_arg_n) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 959s # arg_arg_n)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpiwiwac9k.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpiwiwac9k.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalQ", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-q" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__UINT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-q: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_q: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 959s # g_signal_new ("single-arg-signal-q", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UINT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_q: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_q: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalQ" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_q ( 959s # OrgProjectSignalingIface *object, 959s # guint16 arg_arg_q) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 959s # OrgProjectSignalingIface *object, 959s # guint16 arg_arg_q) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 959s # arg_arg_q)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmphlzv1xds.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmphlzv1xds.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalI", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-i" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__INT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-i: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_i: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 959s # g_signal_new ("single-arg-signal-i", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_INT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_i: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_i: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalI" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_i ( 959s # OrgProjectSignalingIface *object, 959s # gint arg_arg_i) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 959s # OrgProjectSignalingIface *object, 959s # gint arg_arg_i) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 959s # arg_arg_i)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmp3hr17u1w.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmp3hr17u1w.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalU", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-u" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__UINT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-u: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_u: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 959s # g_signal_new ("single-arg-signal-u", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UINT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_u: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_u: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalU" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_u ( 959s # OrgProjectSignalingIface *object, 959s # guint arg_arg_u) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 959s # OrgProjectSignalingIface *object, 959s # guint arg_arg_u) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 959s # arg_arg_u)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmp1c2osl4v.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmp1c2osl4v.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_VOID__INT64 ( 959s # GClosure *closure, 959s # GValue *return_value G_GNUC_UNUSED, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 959s # (void *data1, 959s # gint64 arg_arg_x, 959s # void *data2); 959s # _GDbusCodegenMarshalVoid_Int64Func callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # callback (data1, 959s # g_marshal_value_peek_int64 (param_values + 1), 959s # data2); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalX", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-x" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-x: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_x: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 959s # g_signal_new ("single-arg-signal-x", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_INT64); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_x: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_x: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalX" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_x ( 959s # OrgProjectSignalingIface *object, 959s # gint64 arg_arg_x) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 959s # OrgProjectSignalingIface *object, 959s # gint64 arg_arg_x) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 959s # arg_arg_x)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpokd1qlax.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpokd1qlax.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_VOID__UINT64 ( 959s # GClosure *closure, 959s # GValue *return_value G_GNUC_UNUSED, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 959s # (void *data1, 959s # guint64 arg_arg_t, 959s # void *data2); 959s # _GDbusCodegenMarshalVoid_Uint64Func callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # 959s # g_return_if_fail (n_param_values == 2); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # callback (data1, 959s # g_marshal_value_peek_uint64 (param_values + 1), 959s # data2); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalT", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-t" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-t: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_t: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 959s # g_signal_new ("single-arg-signal-t", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_UINT64); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_t: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_t: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalT" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_t ( 959s # OrgProjectSignalingIface *object, 959s # guint64 arg_arg_t) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 959s # OrgProjectSignalingIface *object, 959s # guint64 arg_arg_t) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 959s # arg_arg_t)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmp3idrmvaz.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmp3idrmvaz.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalD", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-d" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__DOUBLE (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-d: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_d: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 959s # g_signal_new ("single-arg-signal-d", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_DOUBLE); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_d: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_d: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalD" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_d ( 959s # OrgProjectSignalingIface *object, 959s # gdouble arg_arg_d) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 959s # OrgProjectSignalingIface *object, 959s # gdouble arg_arg_d) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 959s # arg_arg_d)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpwbd9m02a.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpwbd9m02a.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalS", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-s" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-s: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_s: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 959s # g_signal_new ("single-arg-signal-s", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_s: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_s: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalS" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_s ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_s) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_s) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 959s # arg_arg_s)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpbji93bi6.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpbji93bi6.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalO", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-o" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-o: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_o: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 959s # g_signal_new ("single-arg-signal-o", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_o: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_o: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalO" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_o ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_o) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_o) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 959s # arg_arg_o)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpqa0ztbu0.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpqa0ztbu0.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalG", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-g" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-g: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_g: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 959s # g_signal_new ("single-arg-signal-g", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_g: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_g: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalG" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_g ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_g) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_g) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 959s # arg_arg_g)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpkz23hqeu.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpkz23hqeu.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalH", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-h" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-h: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_h: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 959s # g_signal_new ("single-arg-signal-h", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_h: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_h: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalH" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_h ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_arg_h) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_arg_h) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 959s # arg_arg_h)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpgryirbru.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpgryirbru.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAy", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-ay" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__STRING (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-ay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_ay: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 959s # g_signal_new ("single-arg-signal-ay", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRING); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_ay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_ay: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAy" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_ay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_ay) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *arg_arg_ay) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 959s # arg_arg_ay)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpp8brwfo5.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpp8brwfo5.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAs", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-as" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOXED (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-as: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_as: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 959s # g_signal_new ("single-arg-signal-as", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRV); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_as: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_as: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAs" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_as ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_arg_as) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_arg_as) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 959s # arg_arg_as)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmp4925_6ja.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmp4925_6ja.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAo", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-ao" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOXED (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-ao: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_ao: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 959s # g_signal_new ("single-arg-signal-ao", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRV); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_ao: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_ao: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAo" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_ao ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_arg_ao) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_arg_ao) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 959s # arg_arg_ao)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpn_i6ip8s.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpn_i6ip8s.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAay", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-aay" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__BOXED (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-aay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_aay: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 959s # g_signal_new ("single-arg-signal-aay", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_STRV); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_aay: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_aay: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAay" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_aay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_arg_aay) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 959s # OrgProjectSignalingIface *object, 959s # const gchar *const *arg_arg_aay) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 959s # arg_arg_aay)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s # /tmp/tmp6mrvrmy5/tmpn45hfbl_.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6mrvrmy5/tmpn45hfbl_.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "arg_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SingleArgSignalAsv", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 959s # NULL 959s # }, 959s # "single-arg-signal-asv" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::single-arg-signal-asv: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_asv: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 959s # g_signal_new ("single-arg-signal-asv", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 959s # G_TYPE_NONE, 959s # 1, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_single_arg_signal_asv: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_arg_asv: Argument to pass with the signal. 959s # * 959s # * Emits the "SingleArgSignalAsv" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_single_arg_signal_asv ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_arg_asv) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 959s # OrgProjectSignalingIface *object, 959s # GVariant *arg_arg_asv) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 959s # arg_arg_asv)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 959s # tmpdir: /tmp/tmp2fytqa8o 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp2fytqa8o/tmp23p28j1q.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2fytqa8o/tmp23p28j1q.xml', '--output', '-', '--body'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifdef HAVE_CONFIG_H 959s # # include "config.h" 959s # #endif 959s # 959s # #include 959s # #ifdef G_OS_UNIX 959s # # include 959s # #endif 959s # 959s # #ifdef G_ENABLE_DEBUG 959s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 959s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 959s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 959s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 959s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 959s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 959s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 959s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 959s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 959s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 959s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 959s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 959s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 959s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 959s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 959s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 959s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 959s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 959s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 959s # #else /* !G_ENABLE_DEBUG */ 959s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 959s # * Do not access GValues directly in your code. Instead, use the 959s # * g_value_get_*() functions 959s # */ 959s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 959s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 959s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 959s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 959s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 959s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 959s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 959s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 959s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 959s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 959s # #endif /* !G_ENABLE_DEBUG */ 959s # 959s # typedef struct 959s # { 959s # GDBusArgInfo parent_struct; 959s # gboolean use_gvariant; 959s # } _ExtendedGDBusArgInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusMethodInfo parent_struct; 959s # const gchar *signal_name; 959s # gboolean pass_fdlist; 959s # } _ExtendedGDBusMethodInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusSignalInfo parent_struct; 959s # const gchar *signal_name; 959s # } _ExtendedGDBusSignalInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusPropertyInfo parent_struct; 959s # const gchar *hyphen_name; 959s # guint use_gvariant : 1; 959s # guint emits_changed_signal : 1; 959s # } _ExtendedGDBusPropertyInfo; 959s # 959s # typedef struct 959s # { 959s # GDBusInterfaceInfo parent_struct; 959s # const gchar *hyphen_name; 959s # } _ExtendedGDBusInterfaceInfo; 959s # 959s # typedef struct 959s # { 959s # const _ExtendedGDBusPropertyInfo *info; 959s # guint prop_id; 959s # GValue orig_value; /* the value before the change */ 959s # } ChangedProperty; 959s # 959s # static void 959s # _changed_property_free (ChangedProperty *data) 959s # { 959s # g_value_unset (&data->orig_value); 959s # g_free (data); 959s # } 959s # 959s # static gboolean 959s # _g_strv_equal0 (gchar **a, gchar **b) 959s # { 959s # gboolean ret = FALSE; 959s # guint n; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # if (g_strv_length (a) != g_strv_length (b)) 959s # goto out; 959s # for (n = 0; a[n] != NULL; n++) 959s # if (g_strcmp0 (a[n], b[n]) != 0) 959s # goto out; 959s # ret = TRUE; 959s # out: 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _g_variant_equal0 (GVariant *a, GVariant *b) 959s # { 959s # gboolean ret = FALSE; 959s # if (a == NULL && b == NULL) 959s # { 959s # ret = TRUE; 959s # goto out; 959s # } 959s # if (a == NULL || b == NULL) 959s # goto out; 959s # ret = g_variant_equal (a, b); 959s # out: 959s # return ret; 959s # } 959s # 959s # G_GNUC_UNUSED static gboolean 959s # _g_value_equal (const GValue *a, const GValue *b) 959s # { 959s # gboolean ret = FALSE; 959s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 959s # switch (G_VALUE_TYPE (a)) 959s # { 959s # case G_TYPE_BOOLEAN: 959s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 959s # break; 959s # case G_TYPE_UCHAR: 959s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 959s # break; 959s # case G_TYPE_INT: 959s # ret = (g_value_get_int (a) == g_value_get_int (b)); 959s # break; 959s # case G_TYPE_UINT: 959s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 959s # break; 959s # case G_TYPE_INT64: 959s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 959s # break; 959s # case G_TYPE_UINT64: 959s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 959s # break; 959s # case G_TYPE_DOUBLE: 959s # { 959s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 959s # gdouble da = g_value_get_double (a); 959s # gdouble db = g_value_get_double (b); 959s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 959s # } 959s # break; 959s # case G_TYPE_STRING: 959s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 959s # break; 959s # case G_TYPE_VARIANT: 959s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 959s # break; 959s # default: 959s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 959s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 959s # else 959s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 959s # break; 959s # } 959s # return ret; 959s # } 959s # 959s # static void 959s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 959s # GClosure *closure, 959s # GValue *return_value G_GNUC_UNUSED, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint G_GNUC_UNUSED, 959s # void *marshal_data) 959s # { 959s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 959s # (void *data1, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv, 959s # void *data2); 959s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 959s # GCClosure *cc = (GCClosure*) closure; 959s # void *data1, *data2; 959s # 959s # g_return_if_fail (n_param_values == 19); 959s # 959s # if (G_CCLOSURE_SWAP_DATA (closure)) 959s # { 959s # data1 = closure->data; 959s # data2 = g_value_peek_pointer (param_values + 0); 959s # } 959s # else 959s # { 959s # data1 = g_value_peek_pointer (param_values + 0); 959s # data2 = closure->data; 959s # } 959s # 959s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 959s # (marshal_data ? marshal_data : cc->callback); 959s # 959s # callback (data1, 959s # g_marshal_value_peek_boolean (param_values + 1), 959s # g_marshal_value_peek_uchar (param_values + 2), 959s # g_marshal_value_peek_int (param_values + 3), 959s # g_marshal_value_peek_uint (param_values + 4), 959s # g_marshal_value_peek_int (param_values + 5), 959s # g_marshal_value_peek_uint (param_values + 6), 959s # g_marshal_value_peek_int64 (param_values + 7), 959s # g_marshal_value_peek_uint64 (param_values + 8), 959s # g_marshal_value_peek_double (param_values + 9), 959s # g_marshal_value_peek_string (param_values + 10), 959s # g_marshal_value_peek_string (param_values + 11), 959s # g_marshal_value_peek_string (param_values + 12), 959s # g_marshal_value_peek_variant (param_values + 13), 959s # g_marshal_value_peek_string (param_values + 14), 959s # g_marshal_value_peek_boxed (param_values + 15), 959s # g_marshal_value_peek_boxed (param_values + 16), 959s # g_marshal_value_peek_boxed (param_values + 17), 959s # g_marshal_value_peek_variant (param_values + 18), 959s # data2); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ 959s # * Code for interface org.project.SignalingIface 959s # * ------------------------------------------------------------------------ 959s # */ 959s # 959s # /** 959s # * SECTION:OrgProjectSignalingIface 959s # * @title: OrgProjectSignalingIface 959s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 959s # * 959s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 959s # */ 959s # 959s # enum 959s # { 959s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 959s # }; 959s # 959s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 959s # 959s # /* ---- Introspection data for org.project.SignalingIface ---- */ 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SimpleSignal", 959s # NULL, 959s # NULL 959s # }, 959s # "simple-signal" 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_b", 959s # (gchar *) "b", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_y", 959s # (gchar *) "y", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_n", 959s # (gchar *) "n", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_q", 959s # (gchar *) "q", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_i", 959s # (gchar *) "i", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_u", 959s # (gchar *) "u", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_x", 959s # (gchar *) "x", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_t", 959s # (gchar *) "t", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_d", 959s # (gchar *) "d", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_s", 959s # (gchar *) "s", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_o", 959s # (gchar *) "o", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_g", 959s # (gchar *) "g", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_h", 959s # (gchar *) "h", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ay", 959s # (gchar *) "ay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_as", 959s # (gchar *) "as", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_ao", 959s # (gchar *) "ao", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_aay", 959s # (gchar *) "aay", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 959s # { 959s # { 959s # -1, 959s # (gchar *) "an_asv", 959s # (gchar *) "a{sv}", 959s # NULL 959s # }, 959s # FALSE 959s # }; 959s # 959s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 959s # { 959s # { 959s # -1, 959s # (gchar *) "SignalWithManyArgs", 959s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 959s # NULL 959s # }, 959s # "signal-with-many-args" 959s # }; 959s # 959s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 959s # { 959s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 959s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 959s # NULL 959s # }; 959s # 959s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 959s # { 959s # { 959s # -1, 959s # (gchar *) "org.project.SignalingIface", 959s # NULL, 959s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 959s # NULL, 959s # NULL 959s # }, 959s # "org-project-signaling-iface", 959s # }; 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_interface_info: 959s # * 959s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 959s # * 959s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 959s # */ 959s # GDBusInterfaceInfo * 959s # org_project_signaling_iface_interface_info (void) 959s # { 959s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_override_properties: 959s # * @klass: The class structure for a #GObject derived class. 959s # * @property_id_begin: The property id to assign to the first overridden property. 959s # * 959s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 959s # * The properties are overridden in the order they are defined. 959s # * 959s # * Returns: The last property id. 959s # */ 959s # guint 959s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 959s # { 959s # return property_id_begin - 1; 959s # } 959s # 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_simple_signal ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # g_cclosure_marshal_VOID__VOID (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # inline static void 959s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 959s # GClosure *closure, 959s # GValue *return_value, 959s # unsigned int n_param_values, 959s # const GValue *param_values, 959s # void *invocation_hint, 959s # void *marshal_data) 959s # { 959s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 959s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 959s # } 959s # 959s # 959s # /** 959s # * OrgProjectSignalingIface: 959s # * 959s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceIface: 959s # * @parent_iface: The parent interface. 959s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 959s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 959s # * 959s # * Virtual table for the D-Bus interface org.project.SignalingIface. 959s # */ 959s # 959s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 959s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 959s # 959s # static void 959s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # /* GObject signals for received D-Bus signals: */ 959s # /** 959s # * OrgProjectSignalingIface::simple-signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 959s # g_signal_new ("simple-signal", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_simple_signal, 959s # G_TYPE_NONE, 959s # 0); 959s # 959s # /** 959s # * OrgProjectSignalingIface::signal-with-many-args: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_b: Argument. 959s # * @arg_an_y: Argument. 959s # * @arg_an_n: Argument. 959s # * @arg_an_q: Argument. 959s # * @arg_an_i: Argument. 959s # * @arg_an_u: Argument. 959s # * @arg_an_x: Argument. 959s # * @arg_an_t: Argument. 959s # * @arg_an_d: Argument. 959s # * @arg_an_s: Argument. 959s # * @arg_an_o: Argument. 959s # * @arg_an_g: Argument. 959s # * @arg_an_h: Argument. 959s # * @arg_an_ay: Argument. 959s # * @arg_an_as: Argument. 959s # * @arg_an_ao: Argument. 959s # * @arg_an_aay: Argument. 959s # * @arg_an_asv: Argument. 959s # * 959s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 959s # * 959s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 959s # */ 959s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 959s # g_signal_new ("signal-with-many-args", 959s # G_TYPE_FROM_INTERFACE (iface), 959s # G_SIGNAL_RUN_LAST, 959s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 959s # NULL, 959s # NULL, 959s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 959s # G_TYPE_NONE, 959s # 18, G_TYPE_BOOLEAN, G_TYPE_UCHAR, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT, G_TYPE_UINT, G_TYPE_INT64, G_TYPE_UINT64, G_TYPE_DOUBLE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_VARIANT); 959s # 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_simple_signal: 959s # * @object: A #OrgProjectSignalingIface. 959s # * 959s # * Emits the "SimpleSignal" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_emit_signal_with_many_args: 959s # * @object: A #OrgProjectSignalingIface. 959s # * @arg_an_b: Argument to pass with the signal. 959s # * @arg_an_y: Argument to pass with the signal. 959s # * @arg_an_n: Argument to pass with the signal. 959s # * @arg_an_q: Argument to pass with the signal. 959s # * @arg_an_i: Argument to pass with the signal. 959s # * @arg_an_u: Argument to pass with the signal. 959s # * @arg_an_x: Argument to pass with the signal. 959s # * @arg_an_t: Argument to pass with the signal. 959s # * @arg_an_d: Argument to pass with the signal. 959s # * @arg_an_s: Argument to pass with the signal. 959s # * @arg_an_o: Argument to pass with the signal. 959s # * @arg_an_g: Argument to pass with the signal. 959s # * @arg_an_h: Argument to pass with the signal. 959s # * @arg_an_ay: Argument to pass with the signal. 959s # * @arg_an_as: Argument to pass with the signal. 959s # * @arg_an_ao: Argument to pass with the signal. 959s # * @arg_an_aay: Argument to pass with the signal. 959s # * @arg_an_asv: Argument to pass with the signal. 959s # * 959s # * Emits the "SignalWithManyArgs" D-Bus signal. 959s # */ 959s # void 959s # org_project_signaling_iface_emit_signal_with_many_args ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv) 959s # { 959s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS], 0, arg_an_b, arg_an_y, arg_an_n, arg_an_q, arg_an_i, arg_an_u, arg_an_x, arg_an_t, arg_an_d, arg_an_s, arg_an_o, arg_an_g, arg_an_h, arg_an_ay, arg_an_as, arg_an_ao, arg_an_aay, arg_an_asv); 959s # } 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxy: 959s # * 959s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceProxyClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceProxy. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceProxyPrivate 959s # { 959s # GData *qdata; 959s # }; 959s # 959s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_proxy_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 959s # g_datalist_clear (&proxy->priv->qdata); 959s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 959s # guint prop_id G_GNUC_UNUSED, 959s # const GValue *value G_GNUC_UNUSED, 959s # GParamSpec *pspec G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 959s # const gchar *sender_name G_GNUC_UNUSED, 959s # const gchar *signal_name, 959s # GVariant *parameters) 959s # { 959s # _ExtendedGDBusSignalInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # gsize n; 959s # guint signal_id; 959s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 959s # if (info == NULL) 959s # return; 959s # num_params = g_variant_n_children (parameters); 959s # paramv = g_new0 (GValue, num_params + 1); 959s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[0], proxy); 959s # g_variant_iter_init (&iter, parameters); 959s # n = 1; 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_signal_emitv (paramv, signal_id, 0, NULL); 959s # for (n = 0; n < num_params + 1; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 959s # GVariant *changed_properties, 959s # const gchar *const *invalidated_properties) 959s # { 959s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 959s # guint n; 959s # const gchar *key; 959s # GVariantIter *iter; 959s # _ExtendedGDBusPropertyInfo *info; 959s # g_variant_get (changed_properties, "a{sv}", &iter); 959s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 959s # g_datalist_remove_data (&proxy->priv->qdata, key); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # g_variant_iter_free (iter); 959s # for (n = 0; invalidated_properties[n] != NULL; n++) 959s # { 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 959s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 959s # if (info != NULL) 959s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 959s # } 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 959s # #else 959s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 959s # #endif 959s # 959s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusProxyClass *proxy_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 959s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 959s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 959s # 959s # proxy_class = G_DBUS_PROXY_CLASS (klass); 959s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 959s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_sync: 959s # * @connection: A #GDBusConnection. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_sync ( 959s # GDBusConnection *connection, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 959s # * @user_data: User data to pass to @callback. 959s # * 959s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 959s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 959s # */ 959s # void 959s # org_project_signaling_iface_proxy_new_for_bus ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GAsyncReadyCallback callback, 959s # gpointer user_data) 959s # { 959s # g_async_initable_new_async (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_finish: 959s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 959s # * @error: Return location for error or %NULL 959s # * 959s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_finish ( 959s # GAsyncResult *res, 959s # GError **error) 959s # { 959s # GObject *ret; 959s # GObject *source_object; 959s # source_object = g_async_result_get_source_object (res); 959s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 959s # g_object_unref (source_object); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_proxy_new_for_bus_sync: 959s # * @bus_type: A #GBusType. 959s # * @flags: Flags from the #GDBusProxyFlags enumeration. 959s # * @name: A bus name (well-known or unique). 959s # * @object_path: An object path. 959s # * @cancellable: (nullable): A #GCancellable or %NULL. 959s # * @error: Return location for error or %NULL 959s # * 959s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 959s # * 959s # * The calling thread is blocked until a reply is received. 959s # * 959s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_proxy_new_for_bus_sync ( 959s # GBusType bus_type, 959s # GDBusProxyFlags flags, 959s # const gchar *name, 959s # const gchar *object_path, 959s # GCancellable *cancellable, 959s # GError **error) 959s # { 959s # GInitable *ret; 959s # ret = g_initable_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.SignalingIface", NULL); 959s # if (ret != NULL) 959s # return ORG_PROJECT_SIGNALING_IFACE (ret); 959s # else 959s # return NULL; 959s # } 959s # 959s # 959s # /* ------------------------------------------------------------------------ */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeleton: 959s # * 959s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 959s # */ 959s # 959s # /** 959s # * OrgProjectSignalingIfaceSkeletonClass: 959s # * @parent_class: The parent class. 959s # * 959s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 959s # */ 959s # 959s # struct _OrgProjectSignalingIfaceSkeletonPrivate 959s # { 959s # GValue *properties; 959s # GList *changed_properties; 959s # GSource *changed_properties_idle_source; 959s # GMainContext *context; 959s # GMutex lock; 959s # }; 959s # 959s # static void 959s # _org_project_signaling_iface_skeleton_handle_method_call ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name, 959s # const gchar *method_name, 959s # GVariant *parameters, 959s # GDBusMethodInvocation *invocation, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # _ExtendedGDBusMethodInfo *info; 959s # GVariantIter iter; 959s # GVariant *child; 959s # GValue *paramv; 959s # gsize num_params; 959s # guint num_extra; 959s # gsize n; 959s # guint signal_id; 959s # GValue return_value = G_VALUE_INIT; 959s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 959s # g_assert (info != NULL); 959s # num_params = g_variant_n_children (parameters); 959s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 959s # n = 0; 959s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_set_object (¶mv[n++], skeleton); 959s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 959s # g_value_set_object (¶mv[n++], invocation); 959s # if (info->pass_fdlist) 959s # { 959s # #ifdef G_OS_UNIX 959s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 959s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 959s # #else 959s # g_assert_not_reached (); 959s # #endif 959s # } 959s # g_variant_iter_init (&iter, parameters); 959s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 959s # { 959s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 959s # if (arg_info->use_gvariant) 959s # { 959s # g_value_init (¶mv[n], G_TYPE_VARIANT); 959s # g_value_set_variant (¶mv[n], child); 959s # n++; 959s # } 959s # else 959s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 959s # g_variant_unref (child); 959s # } 959s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 959s # g_value_init (&return_value, G_TYPE_BOOLEAN); 959s # g_signal_emitv (paramv, signal_id, 0, &return_value); 959s # if (!g_value_get_boolean (&return_value)) 959s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 959s # g_value_unset (&return_value); 959s # for (n = 0; n < num_params + num_extra; n++) 959s # g_value_unset (¶mv[n]); 959s # g_free (paramv); 959s # } 959s # 959s # static GVariant * 959s # _org_project_signaling_iface_skeleton_handle_get_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # GVariant *ret; 959s # ret = NULL; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # g_value_init (&value, pspec->value_type); 959s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 959s # g_value_unset (&value); 959s # } 959s # return ret; 959s # } 959s # 959s # static gboolean 959s # _org_project_signaling_iface_skeleton_handle_set_property ( 959s # GDBusConnection *connection G_GNUC_UNUSED, 959s # const gchar *sender G_GNUC_UNUSED, 959s # const gchar *object_path G_GNUC_UNUSED, 959s # const gchar *interface_name G_GNUC_UNUSED, 959s # const gchar *property_name, 959s # GVariant *variant, 959s # GError **error, 959s # gpointer user_data) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 959s # GValue value = G_VALUE_INIT; 959s # GParamSpec *pspec; 959s # _ExtendedGDBusPropertyInfo *info; 959s # gboolean ret; 959s # ret = FALSE; 959s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 959s # g_assert (info != NULL); 959s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 959s # if (pspec == NULL) 959s # { 959s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 959s # } 959s # else 959s # { 959s # if (info->use_gvariant) 959s # g_value_set_variant (&value, variant); 959s # else 959s # g_dbus_gvariant_to_gvalue (variant, &value); 959s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 959s # g_value_unset (&value); 959s # ret = TRUE; 959s # } 959s # return ret; 959s # } 959s # 959s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 959s # { 959s # _org_project_signaling_iface_skeleton_handle_method_call, 959s # _org_project_signaling_iface_skeleton_handle_get_property, 959s # _org_project_signaling_iface_skeleton_handle_set_property, 959s # {NULL} 959s # }; 959s # 959s # static GDBusInterfaceInfo * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return org_project_signaling_iface_interface_info (); 959s # } 959s # 959s # static GDBusInterfaceVTable * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 959s # { 959s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 959s # } 959s # 959s # static GVariant * 959s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 959s # 959s # GVariantBuilder builder; 959s # guint n; 959s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 959s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 959s # goto out; 959s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 959s # { 959s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 959s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 959s # { 959s # GVariant *value; 959s # value = _org_project_signaling_iface_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", info->name, NULL, skeleton); 959s # if (value != NULL) 959s # { 959s # g_variant_take_ref (value); 959s # g_variant_builder_add (&builder, "{sv}", info->name, value); 959s # g_variant_unref (value); 959s # } 959s # } 959s # } 959s # out: 959s # return g_variant_builder_end (&builder); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 959s # { 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_simple_signal ( 959s # OrgProjectSignalingIface *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void 959s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 959s # OrgProjectSignalingIface *object, 959s # gboolean arg_an_b, 959s # guchar arg_an_y, 959s # gint16 arg_an_n, 959s # guint16 arg_an_q, 959s # gint arg_an_i, 959s # guint arg_an_u, 959s # gint64 arg_an_x, 959s # guint64 arg_an_t, 959s # gdouble arg_an_d, 959s # const gchar *arg_an_s, 959s # const gchar *arg_an_o, 959s # const gchar *arg_an_g, 959s # GVariant *arg_an_h, 959s # const gchar *arg_an_ay, 959s # const gchar *const *arg_an_as, 959s # const gchar *const *arg_an_ao, 959s # const gchar *const *arg_an_aay, 959s # GVariant *arg_an_asv) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # 959s # GList *connections, *l; 959s # GVariant *signal_variant; 959s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 959s # 959s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 959s # arg_an_b, 959s # arg_an_y, 959s # arg_an_n, 959s # arg_an_q, 959s # arg_an_i, 959s # arg_an_u, 959s # arg_an_x, 959s # arg_an_t, 959s # arg_an_d, 959s # arg_an_s, 959s # arg_an_o, 959s # arg_an_g, 959s # arg_an_h, 959s # arg_an_ay, 959s # arg_an_as, 959s # arg_an_ao, 959s # arg_an_aay, 959s # arg_an_asv)); 959s # for (l = connections; l != NULL; l = l->next) 959s # { 959s # GDBusConnection *connection = l->data; 959s # g_dbus_connection_emit_signal (connection, 959s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 959s # signal_variant, NULL); 959s # } 959s # g_variant_unref (signal_variant); 959s # g_list_free_full (connections, g_object_unref); 959s # } 959s # 959s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #else 959s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 959s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 959s # 959s # #endif 959s # static void 959s # org_project_signaling_iface_skeleton_finalize (GObject *object) 959s # { 959s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 959s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 959s # if (skeleton->priv->changed_properties_idle_source != NULL) 959s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 959s # g_main_context_unref (skeleton->priv->context); 959s # g_mutex_clear (&skeleton->priv->lock); 959s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 959s # { 959s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 959s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 959s # #else 959s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 959s # #endif 959s # 959s # g_mutex_init (&skeleton->priv->lock); 959s # skeleton->priv->context = g_main_context_ref_thread_default (); 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 959s # { 959s # GObjectClass *gobject_class; 959s # GDBusInterfaceSkeletonClass *skeleton_class; 959s # 959s # gobject_class = G_OBJECT_CLASS (klass); 959s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 959s # 959s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 959s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 959s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 959s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 959s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 959s # 959s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 959s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 959s # #endif 959s # } 959s # 959s # static void 959s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 959s # { 959s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 959s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 959s # } 959s # 959s # /** 959s # * org_project_signaling_iface_skeleton_new: 959s # * 959s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 959s # * 959s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 959s # */ 959s # OrgProjectSignalingIface * 959s # org_project_signaling_iface_skeleton_new (void) 959s # { 959s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 959s # } 959s ok 25 __main__.TestCodegen.test_generate_valid_docbook 959s # tmpdir: /tmp/tmppkelbo27 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmppkelbo27/tmp4x729eqt.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppkelbo27/tmp4x729eqt.xml', '--generate-docbook', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 959s # tmpdir: /tmp/tmp6m9f_8oa 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp6m9f_8oa/tmpnsgx2aie.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6m9f_8oa/tmpnsgx2aie.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 959s # tmpdir: /tmp/tmp5l2uvj57 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp5l2uvj57/tmpm3jv_vws.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5l2uvj57/tmpm3jv_vws.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifndef __STDOUT__ 959s # #define __STDOUT__ 959s # 959s # #include 959s # 959s # G_BEGIN_DECLS 959s # 959s # 959s # G_END_DECLS 959s # 959s # #endif /* __STDOUT__ */ 959s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 959s # tmpdir: /tmp/tmpbzb2flvm 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpbzb2flvm/tmp8bgmk6cb.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbzb2flvm/tmp8bgmk6cb.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 959s # tmpdir: /tmp/tmpjhq68ili 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpjhq68ili/tmpnyk9eg8l.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjhq68ili/tmpnyk9eg8l.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifndef __STDOUT__ 959s # #define __STDOUT__ 959s # 959s # #include 959s # 959s # G_BEGIN_DECLS 959s # 959s # 959s # G_END_DECLS 959s # 959s # #endif /* __STDOUT__ */ 959s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 959s # tmpdir: /tmp/tmp6s3hb889 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp6s3hb889/tmprshmxun0.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6s3hb889/tmprshmxun0.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifndef __STDOUT__ 959s # #define __STDOUT__ 959s # 959s # #include 959s # 959s # G_BEGIN_DECLS 959s # 959s # 959s # G_END_DECLS 959s # 959s # #endif /* __STDOUT__ */ 959s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 959s # tmpdir: /tmp/tmp0gzbs4d1 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp0gzbs4d1/tmpaz8uei2x.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0gzbs4d1/tmpaz8uei2x.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 959s # tmpdir: /tmp/tmp0ezghgyi 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp0ezghgyi/tmpyrtc7wbq.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ezghgyi/tmpyrtc7wbq.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifndef __STDOUT__ 959s # #define __STDOUT__ 959s # 959s # #include 959s # 959s # G_BEGIN_DECLS 959s # 959s # 959s # G_END_DECLS 959s # 959s # #endif /* __STDOUT__ */ 959s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 959s # tmpdir: /tmp/tmp1iz6xuzh 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp1iz6xuzh/tmp5l0u4nbv.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1iz6xuzh/tmp5l0u4nbv.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 959s # tmpdir: /tmp/tmpac_1pidr 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmpac_1pidr/tmp8lvx0q28.xml: 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpac_1pidr/tmp8lvx0q28.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: /* 959s # * This file is generated by gdbus-codegen, do not modify it. 959s # * 959s # * The license of this code is the same as for the D-Bus interface description 959s # * it was derived from. Note that it links to GLib, so must comply with the 959s # * LGPL linking clauses. 959s # */ 959s # 959s # #ifndef __STDOUT__ 959s # #define __STDOUT__ 959s # 959s # #include 959s # 959s # G_BEGIN_DECLS 959s # 959s # 959s # G_END_DECLS 959s # 959s # #endif /* __STDOUT__ */ 959s ok 35 __main__.TestCodegen.test_help 959s # tmpdir: /tmp/tmpw2rg4dui 959s # codegen: /usr/bin/gdbus-codegen 959s # Running: ['/usr/bin/gdbus-codegen', '--help'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 959s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 959s # [--c-generate-autocleanup {none,objects,all}] 959s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 959s # [--generate-rst OUTFILES] [--pragma-once] 959s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 959s # [--glib-min-required VERSION] 959s # [--glib-max-allowed VERSION] 959s # [--symbol-decorator SYMBOL_DECORATOR] 959s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 959s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 959s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 959s # [--output FILE | --output-directory OUTDIR] 959s # FILE [FILE ...] 959s # 959s # D-Bus code and documentation generator 959s # 959s # positional arguments: 959s # FILE D-Bus introspection XML file 959s # 959s # options: 959s # -h, --help show this help message and exit 959s # --interface-prefix PREFIX 959s # String to strip from D-Bus interface names for code 959s # and docs 959s # --c-namespace NAMESPACE 959s # The namespace to use for generated C code 959s # --c-generate-object-manager 959s # Generate a GDBusObjectManagerClient subclass when 959s # generating C code 959s # --c-generate-autocleanup {none,objects,all} 959s # Generate autocleanup support 959s # --generate-docbook OUTFILES 959s # Generate Docbook in OUTFILES-org.Project.IFace.xml 959s # --generate-md OUTFILES 959s # Generate Markdown in OUTFILES-org.Project.IFace.md 959s # --generate-rst OUTFILES 959s # Generate reStructuredText in OUTFILES- 959s # org.Project.IFace.rst 959s # --pragma-once Use "pragma once" as the inclusion guard 959s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 959s # Add annotation (may be used several times) 959s # --glib-min-required VERSION 959s # Minimum version of GLib to be supported by the 959s # outputted code (default: 2.30) 959s # --glib-max-allowed VERSION 959s # Maximum version of GLib to be used by the outputted 959s # code (default: current GLib version) 959s # --symbol-decorator SYMBOL_DECORATOR 959s # Macro used to decorate a symbol in the outputted 959s # header, possibly to export symbols 959s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 959s # Additional header required for decorator specified by 959s # --symbol-decorator 959s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 959s # Additional define required for decorator specified by 959s # --symbol-decorator 959s # --generate-c-code OUTFILES 959s # Generate C code in OUTFILES.[ch] 959s # --header Generate C headers 959s # --body Generate C code 959s # --interface-info-header 959s # Generate GDBusInterfaceInfo C header 959s # --interface-info-body 959s # Generate GDBusInterfaceInfo C code 959s # --output FILE Write output into the specified file 959s # --output-directory OUTDIR 959s # Location to output generated files 959s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 959s # tmpdir: /tmp/tmp1msmt2ia 959s # codegen: /usr/bin/gdbus-codegen 959s # /tmp/tmp1msmt2ia/tmpjog28lac.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1msmt2ia/tmpjog28lac.xml', '--generate-rst', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s # /tmp/tmp1msmt2ia/tmpwth8t7z2.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1msmt2ia/tmpwth8t7z2.xml', '--generate-md', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s # /tmp/tmp1msmt2ia/tmpz214c7ov.xml: 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # 959s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1msmt2ia/tmpz214c7ov.xml', '--generate-docbook', 'test'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 959s # Output: 959s ok 37 __main__.TestCodegen.test_no_args 959s # tmpdir: /tmp/tmpnws_wm5c 959s # codegen: /usr/bin/gdbus-codegen 959s # Running: ['/usr/bin/gdbus-codegen'] 959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s ok 38 __main__.TestCodegen.test_reproducible 960s # tmpdir: /tmp/tmp18u4rwoi 960s # codegen: /usr/bin/gdbus-codegen 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp18u4rwoi/tmp1_phyh_51.xml', '/tmp/tmp18u4rwoi/tmp6qmt9a8f2.xml', '--output', '-', '--header'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for com.acme.Coyote */ 960s # 960s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 960s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 960s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 960s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 960s # 960s # struct _ComAcmeCoyote; 960s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 960s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 960s # 960s # struct _ComAcmeCoyoteIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # 960s # 960s # gboolean (*handle_attack) ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # gboolean (*handle_run) ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # gboolean (*handle_sleep) ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # const gchar * (*get_mood) (ComAcmeCoyote *object); 960s # 960s # void (*surprised) ( 960s # ComAcmeCoyote *object); 960s # 960s # }; 960s # 960s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 960s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void com_acme_coyote_complete_run ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # void com_acme_coyote_complete_sleep ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # void com_acme_coyote_complete_attack ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # 960s # 960s # /* D-Bus signal emissions functions: */ 960s # void com_acme_coyote_emit_surprised ( 960s # ComAcmeCoyote *object); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void com_acme_coyote_call_run ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean com_acme_coyote_call_run_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean com_acme_coyote_call_run_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void com_acme_coyote_call_sleep ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean com_acme_coyote_call_sleep_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean com_acme_coyote_call_sleep_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void com_acme_coyote_call_attack ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean com_acme_coyote_call_attack_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean com_acme_coyote_call_attack_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* D-Bus property accessors: */ 960s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 960s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 960s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 960s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 960s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 960s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 960s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 960s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 960s # 960s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 960s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 960s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 960s # 960s # struct _ComAcmeCoyoteProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # ComAcmeCoyoteProxyPrivate *priv; 960s # }; 960s # 960s # struct _ComAcmeCoyoteProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 960s # #endif 960s # 960s # void com_acme_coyote_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void com_acme_coyote_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 960s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 960s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 960s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 960s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 960s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 960s # 960s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 960s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 960s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 960s # 960s # struct _ComAcmeCoyoteSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # ComAcmeCoyoteSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _ComAcmeCoyoteSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 960s # #endif 960s # 960s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for org.project.Bar.Frobnicator */ 960s # 960s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 960s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 960s # 960s # struct _OrgProjectBarFrobnicator; 960s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 960s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 960s # 960s # struct _OrgProjectBarFrobnicatorIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # gboolean (*handle_random_method) ( 960s # OrgProjectBarFrobnicator *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # }; 960s # 960s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 960s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void org_project_bar_frobnicator_complete_random_method ( 960s # OrgProjectBarFrobnicator *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void org_project_bar_frobnicator_call_random_method ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 960s # 960s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 960s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 960s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 960s # 960s # struct _OrgProjectBarFrobnicatorProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # OrgProjectBarFrobnicatorProxyPrivate *priv; 960s # }; 960s # 960s # struct _OrgProjectBarFrobnicatorProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 960s # #endif 960s # 960s # void org_project_bar_frobnicator_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void org_project_bar_frobnicator_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 960s # 960s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 960s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 960s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 960s # 960s # struct _OrgProjectBarFrobnicatorSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _OrgProjectBarFrobnicatorSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 960s # #endif 960s # 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp18u4rwoi/tmp6qmt9a8f2.xml', '/tmp/tmp18u4rwoi/tmp1_phyh_51.xml', '--output', '-', '--header'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for com.acme.Coyote */ 960s # 960s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 960s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 960s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 960s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 960s # 960s # struct _ComAcmeCoyote; 960s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 960s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 960s # 960s # struct _ComAcmeCoyoteIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # 960s # 960s # gboolean (*handle_attack) ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # gboolean (*handle_run) ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # gboolean (*handle_sleep) ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # const gchar * (*get_mood) (ComAcmeCoyote *object); 960s # 960s # void (*surprised) ( 960s # ComAcmeCoyote *object); 960s # 960s # }; 960s # 960s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 960s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void com_acme_coyote_complete_run ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # void com_acme_coyote_complete_sleep ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # void com_acme_coyote_complete_attack ( 960s # ComAcmeCoyote *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # 960s # 960s # /* D-Bus signal emissions functions: */ 960s # void com_acme_coyote_emit_surprised ( 960s # ComAcmeCoyote *object); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void com_acme_coyote_call_run ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean com_acme_coyote_call_run_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean com_acme_coyote_call_run_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void com_acme_coyote_call_sleep ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean com_acme_coyote_call_sleep_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean com_acme_coyote_call_sleep_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void com_acme_coyote_call_attack ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean com_acme_coyote_call_attack_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean com_acme_coyote_call_attack_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* D-Bus property accessors: */ 960s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 960s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 960s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 960s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 960s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 960s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 960s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 960s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 960s # 960s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 960s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 960s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 960s # 960s # struct _ComAcmeCoyoteProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # ComAcmeCoyoteProxyPrivate *priv; 960s # }; 960s # 960s # struct _ComAcmeCoyoteProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 960s # #endif 960s # 960s # void com_acme_coyote_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void com_acme_coyote_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 960s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 960s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 960s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 960s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 960s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 960s # 960s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 960s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 960s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 960s # 960s # struct _ComAcmeCoyoteSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # ComAcmeCoyoteSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _ComAcmeCoyoteSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 960s # #endif 960s # 960s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for org.project.Bar.Frobnicator */ 960s # 960s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 960s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 960s # 960s # struct _OrgProjectBarFrobnicator; 960s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 960s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 960s # 960s # struct _OrgProjectBarFrobnicatorIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # gboolean (*handle_random_method) ( 960s # OrgProjectBarFrobnicator *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # }; 960s # 960s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 960s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void org_project_bar_frobnicator_complete_random_method ( 960s # OrgProjectBarFrobnicator *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void org_project_bar_frobnicator_call_random_method ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 960s # 960s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 960s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 960s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 960s # 960s # struct _OrgProjectBarFrobnicatorProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # OrgProjectBarFrobnicatorProxyPrivate *priv; 960s # }; 960s # 960s # struct _OrgProjectBarFrobnicatorProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 960s # #endif 960s # 960s # void org_project_bar_frobnicator_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void org_project_bar_frobnicator_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 960s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 960s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 960s # 960s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 960s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 960s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 960s # 960s # struct _OrgProjectBarFrobnicatorSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _OrgProjectBarFrobnicatorSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 960s # #endif 960s # 960s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp18u4rwoi/tmp1_phyh_51.xml', '/tmp/tmp18u4rwoi/tmp6qmt9a8f2.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # static void 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint G_GNUC_UNUSED, 960s # void *marshal_data) 960s # { 960s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 960s # (void *data1, 960s # GDBusMethodInvocation *arg_method_invocation, 960s # void *data2); 960s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 960s # GCClosure *cc = (GCClosure*) closure; 960s # void *data1, *data2; 960s # gboolean v_return; 960s # 960s # g_return_if_fail (return_value != NULL); 960s # g_return_if_fail (n_param_values == 2); 960s # 960s # if (G_CCLOSURE_SWAP_DATA (closure)) 960s # { 960s # data1 = closure->data; 960s # data2 = g_value_peek_pointer (param_values + 0); 960s # } 960s # else 960s # { 960s # data1 = g_value_peek_pointer (param_values + 0); 960s # data2 = closure->data; 960s # } 960s # 960s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 960s # (marshal_data ? marshal_data : cc->callback); 960s # 960s # v_return = 960s # callback (data1, 960s # g_marshal_value_peek_object (param_values + 1), 960s # data2); 960s # 960s # g_value_set_boolean (return_value, v_return); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface com.acme.Coyote 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:ComAcmeCoyote 960s # * @title: ComAcmeCoyote 960s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 960s # * 960s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _COM_ACME_COYOTE_SURPRISED, 960s # }; 960s # 960s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 960s # 960s # /* ---- Introspection data for com.acme.Coyote ---- */ 960s # 960s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Run", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-run", 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Sleep", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-sleep", 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Attack", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-attack", 960s # FALSE 960s # }; 960s # 960s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 960s # { 960s # &_com_acme_coyote_method_info_run.parent_struct, 960s # &_com_acme_coyote_method_info_sleep.parent_struct, 960s # &_com_acme_coyote_method_info_attack.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Surprised", 960s # NULL, 960s # NULL 960s # }, 960s # "surprised" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 960s # { 960s # &_com_acme_coyote_signal_info_surprised.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Mood", 960s # (gchar *) "s", 960s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 960s # NULL 960s # }, 960s # "mood", 960s # FALSE, 960s # TRUE 960s # }; 960s # 960s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 960s # { 960s # &_com_acme_coyote_property_info_mood.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "com.acme.Coyote", 960s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 960s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 960s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 960s # NULL 960s # }, 960s # "com-acme-coyote", 960s # }; 960s # 960s # 960s # /** 960s # * com_acme_coyote_interface_info: 960s # * 960s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # com_acme_coyote_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 960s # { 960s # g_object_class_override_property (klass, property_id_begin++, "mood"); 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # com_acme_coyote_signal_marshal_surprised ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # com_acme_coyote_method_marshal_run ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # com_acme_coyote_method_marshal_sleep ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # com_acme_coyote_method_marshal_attack ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * ComAcmeCoyote: 960s # * 960s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 960s # */ 960s # 960s # /** 960s # * ComAcmeCoyoteIface: 960s # * @parent_iface: The parent interface. 960s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 960s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 960s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 960s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 960s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 960s # * 960s # * Virtual table for the D-Bus interface com.acme.Coyote. 960s # */ 960s # 960s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 960s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 960s # 960s # static void 960s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 960s # { 960s # /* GObject signals for incoming D-Bus method calls: */ 960s # /** 960s # * ComAcmeCoyote::handle-run: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-run", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # com_acme_coyote_method_marshal_run, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # /** 960s # * ComAcmeCoyote::handle-sleep: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-sleep", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # com_acme_coyote_method_marshal_sleep, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # /** 960s # * ComAcmeCoyote::handle-attack: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-attack", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # com_acme_coyote_method_marshal_attack, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * ComAcmeCoyote::surprised: 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 960s # g_signal_new ("surprised", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 960s # NULL, 960s # NULL, 960s # com_acme_coyote_signal_marshal_surprised, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /* GObject properties for D-Bus properties: */ 960s # /** 960s # * ComAcmeCoyote:mood: 960s # * 960s # * Represents the D-Bus property "Mood". 960s # * 960s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 960s # */ 960s # g_object_interface_install_property (iface, 960s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_get_mood: (skip) 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * Gets the value of the "Mood" D-Bus property. 960s # * 960s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 960s # * 960s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use com_acme_coyote_dup_mood() if on another thread. 960s # * 960s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 960s # */ 960s # const gchar * 960s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 960s # { 960s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 960s # 960s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_dup_mood: (skip) 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * Gets a copy of the "Mood" D-Bus property. 960s # * 960s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 960s # * 960s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 960s # */ 960s # gchar * 960s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 960s # { 960s # gchar *value; 960s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 960s # return value; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_set_mood: (skip) 960s # * @object: A #ComAcmeCoyote. 960s # * @value: The value to set. 960s # * 960s # * Sets the "Mood" D-Bus property to @value. 960s # * 960s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 960s # */ 960s # void 960s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 960s # { 960s # g_object_set (G_OBJECT (object), "mood", value, NULL); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_emit_surprised: 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * Emits the "Surprised" D-Bus signal. 960s # */ 960s # void 960s # com_acme_coyote_emit_surprised ( 960s # ComAcmeCoyote *object) 960s # { 960s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_run: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the Run() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # com_acme_coyote_call_run ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "Run", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_run_finish: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with com_acme_coyote_call_run(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_run_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_run_sync: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_run_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "Run", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_sleep: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # com_acme_coyote_call_sleep ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "Sleep", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_sleep_finish: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with com_acme_coyote_call_sleep(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_sleep_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_sleep_sync: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_sleep_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "Sleep", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_attack: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # com_acme_coyote_call_attack ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "Attack", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_attack_finish: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with com_acme_coyote_call_attack(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_attack_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_attack_sync: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_attack_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "Attack", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_complete_run: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the Run() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # com_acme_coyote_complete_run ( 960s # ComAcmeCoyote *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_complete_sleep: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the Sleep() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # com_acme_coyote_complete_sleep ( 960s # ComAcmeCoyote *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_complete_attack: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the Attack() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # com_acme_coyote_complete_attack ( 960s # ComAcmeCoyote *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * ComAcmeCoyoteProxy: 960s # * 960s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * ComAcmeCoyoteProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #ComAcmeCoyoteProxy. 960s # */ 960s # 960s # struct _ComAcmeCoyoteProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # com_acme_coyote_proxy_finalize (GObject *object) 960s # { 960s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_get_property (GObject *object, 960s # guint prop_id, 960s # GValue *value, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # GVariant *variant; 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 960s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 960s # if (info->use_gvariant) 960s # { 960s # g_value_set_variant (value, variant); 960s # } 960s # else 960s # { 960s # if (variant != NULL) 960s # g_dbus_gvariant_to_gvalue (variant, value); 960s # } 960s # if (variant != NULL) 960s # g_variant_unref (variant); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 960s # GAsyncResult *res, 960s # gpointer user_data) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info = user_data; 960s # GError *error; 960s # GVariant *_ret; 960s # error = NULL; 960s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 960s # if (!_ret) 960s # { 960s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 960s # info->parent_struct.name, 960s # error->message, g_quark_to_string (error->domain), error->code); 960s # g_error_free (error); 960s # } 960s # else 960s # { 960s # g_variant_unref (_ret); 960s # } 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_set_property (GObject *object, 960s # guint prop_id, 960s # const GValue *value, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # GVariant *variant; 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 960s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_dbus_proxy_call (G_DBUS_PROXY (object), 960s # "org.freedesktop.DBus.Properties.Set", 960s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 960s # g_variant_unref (variant); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static const gchar * 960s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 960s # { 960s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 960s # GVariant *variant; 960s # const gchar *value = NULL; 960s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 960s # if (variant != NULL) 960s # { 960s # value = g_variant_get_string (variant, NULL); 960s # g_variant_unref (variant); 960s # } 960s # return value; 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 960s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 960s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 960s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 960s # 960s # com_acme_coyote_override_properties (gobject_class, 1); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 960s # { 960s # iface->get_mood = com_acme_coyote_proxy_get_mood; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # com_acme_coyote_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with com_acme_coyote_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # com_acme_coyote_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * ComAcmeCoyoteSkeleton: 960s # * 960s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * ComAcmeCoyoteSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #ComAcmeCoyoteSkeleton. 960s # */ 960s # 960s # struct _ComAcmeCoyoteSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _com_acme_coyote_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _com_acme_coyote_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _com_acme_coyote_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 960s # { 960s # _com_acme_coyote_skeleton_handle_method_call, 960s # _com_acme_coyote_skeleton_handle_get_property, 960s # _com_acme_coyote_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return com_acme_coyote_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _com_acme_coyote_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 960s # 960s # static void 960s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 960s # gboolean emit_changed = FALSE; 960s # 960s # g_mutex_lock (&skeleton->priv->lock); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # { 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # skeleton->priv->changed_properties_idle_source = NULL; 960s # emit_changed = TRUE; 960s # } 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # 960s # if (emit_changed) 960s # _com_acme_coyote_emit_changed (skeleton); 960s # } 960s # 960s # static void 960s # _com_acme_coyote_on_signal_surprised ( 960s # ComAcmeCoyote *object) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # com_acme_coyote_skeleton_finalize (GObject *object) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # guint n; 960s # for (n = 0; n < 1; n++) 960s # g_value_unset (&skeleton->priv->properties[n]); 960s # g_free (skeleton->priv->properties); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_get_property (GObject *object, 960s # guint prop_id, 960s # GValue *value, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # g_mutex_lock (&skeleton->priv->lock); 960s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # } 960s # 960s # static gboolean 960s # _com_acme_coyote_emit_changed (gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # GList *l; 960s # GVariantBuilder builder; 960s # GVariantBuilder invalidated_builder; 960s # guint num_changes; 960s # 960s # g_mutex_lock (&skeleton->priv->lock); 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 960s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 960s # { 960s # ChangedProperty *cp = l->data; 960s # GVariant *variant; 960s # const GValue *cur_value; 960s # 960s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 960s # if (!_g_value_equal (cur_value, &cp->orig_value)) 960s # { 960s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 960s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 960s # g_variant_unref (variant); 960s # num_changes++; 960s # } 960s # } 960s # if (num_changes > 0) 960s # { 960s # GList *connections, *ll; 960s # GVariant *signal_variant; 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 960s # &builder, &invalidated_builder)); 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # for (ll = connections; ll != NULL; ll = ll->next) 960s # { 960s # GDBusConnection *connection = ll->data; 960s # 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 960s # "org.freedesktop.DBus.Properties", 960s # "PropertiesChanged", 960s # signal_variant, 960s # NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # else 960s # { 960s # g_variant_builder_clear (&builder); 960s # g_variant_builder_clear (&invalidated_builder); 960s # } 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # skeleton->priv->changed_properties = NULL; 960s # skeleton->priv->changed_properties_idle_source = NULL; 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # return FALSE; 960s # } 960s # 960s # static void 960s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 960s # { 960s # ChangedProperty *cp; 960s # GList *l; 960s # cp = NULL; 960s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 960s # { 960s # ChangedProperty *i_cp = l->data; 960s # if (i_cp->info == info) 960s # { 960s # cp = i_cp; 960s # break; 960s # } 960s # } 960s # if (cp == NULL) 960s # { 960s # cp = g_new0 (ChangedProperty, 1); 960s # cp->prop_id = prop_id; 960s # cp->info = info; 960s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 960s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 960s # g_value_copy (orig_value, &cp->orig_value); 960s # } 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_notify (GObject *object, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # g_mutex_lock (&skeleton->priv->lock); 960s # if (skeleton->priv->changed_properties != NULL && 960s # skeleton->priv->changed_properties_idle_source == NULL) 960s # { 960s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 960s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 960s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 960s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 960s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 960s # g_source_unref (skeleton->priv->changed_properties_idle_source); 960s # } 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_set_property (GObject *object, 960s # guint prop_id, 960s # const GValue *value, 960s # GParamSpec *pspec) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 960s # g_mutex_lock (&skeleton->priv->lock); 960s # g_object_freeze_notify (object); 960s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 960s # { 960s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 960s # info->emits_changed_signal) 960s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 960s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 960s # g_object_notify_by_pspec (object, pspec); 960s # } 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # g_object_thaw_notify (object); 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # skeleton->priv->properties = g_new0 (GValue, 1); 960s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 960s # } 960s # 960s # static const gchar * 960s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # const gchar *value; 960s # g_mutex_lock (&skeleton->priv->lock); 960s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # return value; 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 960s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 960s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 960s # gobject_class->notify = com_acme_coyote_skeleton_notify; 960s # 960s # 960s # com_acme_coyote_override_properties (gobject_class, 1); 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 960s # { 960s # iface->surprised = _com_acme_coyote_on_signal_surprised; 960s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_skeleton_new (void) 960s # { 960s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.Bar.Frobnicator 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectBarFrobnicator 960s # * @title: OrgProjectBarFrobnicator 960s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 960s # */ 960s # 960s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 960s # 960s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 960s # { 960s # { 960s # -1, 960s # (gchar *) "RandomMethod", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-random-method", 960s # FALSE 960s # }; 960s # 960s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 960s # { 960s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.Bar.Frobnicator", 960s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-bar-frobnicator", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_bar_frobnicator_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_bar_frobnicator_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_bar_frobnicator_method_marshal_random_method ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectBarFrobnicator: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 960s # */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorIface: 960s # * @parent_iface: The parent interface. 960s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 960s # */ 960s # 960s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 960s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 960s # { 960s # /* GObject signals for incoming D-Bus method calls: */ 960s # /** 960s # * OrgProjectBarFrobnicator::handle-random-method: 960s # * @object: A #OrgProjectBarFrobnicator. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-random-method", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # org_project_bar_frobnicator_method_marshal_random_method, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_call_random_method: 960s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 960s # * 960s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # org_project_bar_frobnicator_call_random_method ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "RandomMethod", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_call_random_method_finish: 960s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # org_project_bar_frobnicator_call_random_method_finish ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_call_random_method_sync: 960s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # org_project_bar_frobnicator_call_random_method_sync ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "RandomMethod", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_complete_random_method: 960s # * @object: A #OrgProjectBarFrobnicator. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the RandomMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # org_project_bar_frobnicator_complete_random_method ( 960s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorProxy: 960s # * 960s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectBarFrobnicatorProxy. 960s # */ 960s # 960s # struct _OrgProjectBarFrobnicatorProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 960s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 960s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_bar_frobnicator_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_bar_frobnicator_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorSkeleton: 960s # * 960s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 960s # */ 960s # 960s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 960s # { 960s # _org_project_bar_frobnicator_skeleton_handle_method_call, 960s # _org_project_bar_frobnicator_skeleton_handle_get_property, 960s # _org_project_bar_frobnicator_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_bar_frobnicator_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_bar_frobnicator_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.Bar.Frobnicator", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 960s # } 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp18u4rwoi/tmp6qmt9a8f2.xml', '/tmp/tmp18u4rwoi/tmp1_phyh_51.xml', '--output', '-', '--body'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifdef HAVE_CONFIG_H 960s # # include "config.h" 960s # #endif 960s # 960s # #include 960s # #ifdef G_OS_UNIX 960s # # include 960s # #endif 960s # 960s # #ifdef G_ENABLE_DEBUG 960s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 960s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 960s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 960s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 960s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 960s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 960s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 960s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 960s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 960s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 960s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 960s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 960s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 960s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 960s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 960s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 960s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 960s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 960s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 960s # #else /* !G_ENABLE_DEBUG */ 960s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 960s # * Do not access GValues directly in your code. Instead, use the 960s # * g_value_get_*() functions 960s # */ 960s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 960s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 960s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 960s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 960s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 960s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 960s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 960s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 960s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 960s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 960s # #endif /* !G_ENABLE_DEBUG */ 960s # 960s # typedef struct 960s # { 960s # GDBusArgInfo parent_struct; 960s # gboolean use_gvariant; 960s # } _ExtendedGDBusArgInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusMethodInfo parent_struct; 960s # const gchar *signal_name; 960s # gboolean pass_fdlist; 960s # } _ExtendedGDBusMethodInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusSignalInfo parent_struct; 960s # const gchar *signal_name; 960s # } _ExtendedGDBusSignalInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusPropertyInfo parent_struct; 960s # const gchar *hyphen_name; 960s # guint use_gvariant : 1; 960s # guint emits_changed_signal : 1; 960s # } _ExtendedGDBusPropertyInfo; 960s # 960s # typedef struct 960s # { 960s # GDBusInterfaceInfo parent_struct; 960s # const gchar *hyphen_name; 960s # } _ExtendedGDBusInterfaceInfo; 960s # 960s # typedef struct 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # guint prop_id; 960s # GValue orig_value; /* the value before the change */ 960s # } ChangedProperty; 960s # 960s # static void 960s # _changed_property_free (ChangedProperty *data) 960s # { 960s # g_value_unset (&data->orig_value); 960s # g_free (data); 960s # } 960s # 960s # static gboolean 960s # _g_strv_equal0 (gchar **a, gchar **b) 960s # { 960s # gboolean ret = FALSE; 960s # guint n; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # if (g_strv_length (a) != g_strv_length (b)) 960s # goto out; 960s # for (n = 0; a[n] != NULL; n++) 960s # if (g_strcmp0 (a[n], b[n]) != 0) 960s # goto out; 960s # ret = TRUE; 960s # out: 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _g_variant_equal0 (GVariant *a, GVariant *b) 960s # { 960s # gboolean ret = FALSE; 960s # if (a == NULL && b == NULL) 960s # { 960s # ret = TRUE; 960s # goto out; 960s # } 960s # if (a == NULL || b == NULL) 960s # goto out; 960s # ret = g_variant_equal (a, b); 960s # out: 960s # return ret; 960s # } 960s # 960s # G_GNUC_UNUSED static gboolean 960s # _g_value_equal (const GValue *a, const GValue *b) 960s # { 960s # gboolean ret = FALSE; 960s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 960s # switch (G_VALUE_TYPE (a)) 960s # { 960s # case G_TYPE_BOOLEAN: 960s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 960s # break; 960s # case G_TYPE_UCHAR: 960s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 960s # break; 960s # case G_TYPE_INT: 960s # ret = (g_value_get_int (a) == g_value_get_int (b)); 960s # break; 960s # case G_TYPE_UINT: 960s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 960s # break; 960s # case G_TYPE_INT64: 960s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 960s # break; 960s # case G_TYPE_UINT64: 960s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 960s # break; 960s # case G_TYPE_DOUBLE: 960s # { 960s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 960s # gdouble da = g_value_get_double (a); 960s # gdouble db = g_value_get_double (b); 960s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 960s # } 960s # break; 960s # case G_TYPE_STRING: 960s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 960s # break; 960s # case G_TYPE_VARIANT: 960s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 960s # break; 960s # default: 960s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 960s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 960s # else 960s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 960s # break; 960s # } 960s # return ret; 960s # } 960s # 960s # static void 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint G_GNUC_UNUSED, 960s # void *marshal_data) 960s # { 960s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 960s # (void *data1, 960s # GDBusMethodInvocation *arg_method_invocation, 960s # void *data2); 960s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 960s # GCClosure *cc = (GCClosure*) closure; 960s # void *data1, *data2; 960s # gboolean v_return; 960s # 960s # g_return_if_fail (return_value != NULL); 960s # g_return_if_fail (n_param_values == 2); 960s # 960s # if (G_CCLOSURE_SWAP_DATA (closure)) 960s # { 960s # data1 = closure->data; 960s # data2 = g_value_peek_pointer (param_values + 0); 960s # } 960s # else 960s # { 960s # data1 = g_value_peek_pointer (param_values + 0); 960s # data2 = closure->data; 960s # } 960s # 960s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 960s # (marshal_data ? marshal_data : cc->callback); 960s # 960s # v_return = 960s # callback (data1, 960s # g_marshal_value_peek_object (param_values + 1), 960s # data2); 960s # 960s # g_value_set_boolean (return_value, v_return); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface com.acme.Coyote 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:ComAcmeCoyote 960s # * @title: ComAcmeCoyote 960s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 960s # * 960s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 960s # */ 960s # 960s # enum 960s # { 960s # _COM_ACME_COYOTE_SURPRISED, 960s # }; 960s # 960s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 960s # 960s # /* ---- Introspection data for com.acme.Coyote ---- */ 960s # 960s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Run", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-run", 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Sleep", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-sleep", 960s # FALSE 960s # }; 960s # 960s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Attack", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-attack", 960s # FALSE 960s # }; 960s # 960s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 960s # { 960s # &_com_acme_coyote_method_info_run.parent_struct, 960s # &_com_acme_coyote_method_info_sleep.parent_struct, 960s # &_com_acme_coyote_method_info_attack.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Surprised", 960s # NULL, 960s # NULL 960s # }, 960s # "surprised" 960s # }; 960s # 960s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 960s # { 960s # &_com_acme_coyote_signal_info_surprised.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 960s # { 960s # { 960s # -1, 960s # (gchar *) "Mood", 960s # (gchar *) "s", 960s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 960s # NULL 960s # }, 960s # "mood", 960s # FALSE, 960s # TRUE 960s # }; 960s # 960s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 960s # { 960s # &_com_acme_coyote_property_info_mood.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "com.acme.Coyote", 960s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 960s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 960s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 960s # NULL 960s # }, 960s # "com-acme-coyote", 960s # }; 960s # 960s # 960s # /** 960s # * com_acme_coyote_interface_info: 960s # * 960s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # com_acme_coyote_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 960s # { 960s # g_object_class_override_property (klass, property_id_begin++, "mood"); 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # com_acme_coyote_signal_marshal_surprised ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # g_cclosure_marshal_VOID__VOID (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # com_acme_coyote_method_marshal_run ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # com_acme_coyote_method_marshal_sleep ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # inline static void 960s # com_acme_coyote_method_marshal_attack ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * ComAcmeCoyote: 960s # * 960s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 960s # */ 960s # 960s # /** 960s # * ComAcmeCoyoteIface: 960s # * @parent_iface: The parent interface. 960s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 960s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 960s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 960s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 960s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 960s # * 960s # * Virtual table for the D-Bus interface com.acme.Coyote. 960s # */ 960s # 960s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 960s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 960s # 960s # static void 960s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 960s # { 960s # /* GObject signals for incoming D-Bus method calls: */ 960s # /** 960s # * ComAcmeCoyote::handle-run: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_run() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-run", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # com_acme_coyote_method_marshal_run, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # /** 960s # * ComAcmeCoyote::handle-sleep: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_sleep() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-sleep", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # com_acme_coyote_method_marshal_sleep, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # /** 960s # * ComAcmeCoyote::handle-attack: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call com_acme_coyote_complete_attack() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-attack", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # com_acme_coyote_method_marshal_attack, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # /* GObject signals for received D-Bus signals: */ 960s # /** 960s # * ComAcmeCoyote::surprised: 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 960s # * 960s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 960s # */ 960s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 960s # g_signal_new ("surprised", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 960s # NULL, 960s # NULL, 960s # com_acme_coyote_signal_marshal_surprised, 960s # G_TYPE_NONE, 960s # 0); 960s # 960s # /* GObject properties for D-Bus properties: */ 960s # /** 960s # * ComAcmeCoyote:mood: 960s # * 960s # * Represents the D-Bus property "Mood". 960s # * 960s # * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side. 960s # */ 960s # g_object_interface_install_property (iface, 960s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_get_mood: (skip) 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * Gets the value of the "Mood" D-Bus property. 960s # * 960s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 960s # * 960s # * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use com_acme_coyote_dup_mood() if on another thread. 960s # * 960s # * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. 960s # */ 960s # const gchar * 960s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 960s # { 960s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 960s # 960s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_dup_mood: (skip) 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * Gets a copy of the "Mood" D-Bus property. 960s # * 960s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 960s # * 960s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 960s # */ 960s # gchar * 960s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 960s # { 960s # gchar *value; 960s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 960s # return value; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_set_mood: (skip) 960s # * @object: A #ComAcmeCoyote. 960s # * @value: The value to set. 960s # * 960s # * Sets the "Mood" D-Bus property to @value. 960s # * 960s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 960s # */ 960s # void 960s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 960s # { 960s # g_object_set (G_OBJECT (object), "mood", value, NULL); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_emit_surprised: 960s # * @object: A #ComAcmeCoyote. 960s # * 960s # * Emits the "Surprised" D-Bus signal. 960s # */ 960s # void 960s # com_acme_coyote_emit_surprised ( 960s # ComAcmeCoyote *object) 960s # { 960s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_run: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the Run() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # com_acme_coyote_call_run ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "Run", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_run_finish: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with com_acme_coyote_call_run(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_run_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_run_sync: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_run_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "Run", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_sleep: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # com_acme_coyote_call_sleep ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "Sleep", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_sleep_finish: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with com_acme_coyote_call_sleep(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_sleep_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_sleep_sync: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_sleep_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "Sleep", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_attack: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # com_acme_coyote_call_attack ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "Attack", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_attack_finish: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with com_acme_coyote_call_attack(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_attack_finish ( 960s # ComAcmeCoyote *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_call_attack_sync: 960s # * @proxy: A #ComAcmeCoyoteProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # com_acme_coyote_call_attack_sync ( 960s # ComAcmeCoyote *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "Attack", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_complete_run: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the Run() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # com_acme_coyote_complete_run ( 960s # ComAcmeCoyote *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_complete_sleep: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the Sleep() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # com_acme_coyote_complete_sleep ( 960s # ComAcmeCoyote *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_complete_attack: 960s # * @object: A #ComAcmeCoyote. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the Attack() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # com_acme_coyote_complete_attack ( 960s # ComAcmeCoyote *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * ComAcmeCoyoteProxy: 960s # * 960s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * ComAcmeCoyoteProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #ComAcmeCoyoteProxy. 960s # */ 960s # 960s # struct _ComAcmeCoyoteProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # com_acme_coyote_proxy_finalize (GObject *object) 960s # { 960s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_get_property (GObject *object, 960s # guint prop_id, 960s # GValue *value, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # GVariant *variant; 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 960s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 960s # if (info->use_gvariant) 960s # { 960s # g_value_set_variant (value, variant); 960s # } 960s # else 960s # { 960s # if (variant != NULL) 960s # g_dbus_gvariant_to_gvalue (variant, value); 960s # } 960s # if (variant != NULL) 960s # g_variant_unref (variant); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 960s # GAsyncResult *res, 960s # gpointer user_data) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info = user_data; 960s # GError *error; 960s # GVariant *_ret; 960s # error = NULL; 960s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 960s # if (!_ret) 960s # { 960s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 960s # info->parent_struct.name, 960s # error->message, g_quark_to_string (error->domain), error->code); 960s # g_error_free (error); 960s # } 960s # else 960s # { 960s # g_variant_unref (_ret); 960s # } 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_set_property (GObject *object, 960s # guint prop_id, 960s # const GValue *value, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # GVariant *variant; 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 960s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_dbus_proxy_call (G_DBUS_PROXY (object), 960s # "org.freedesktop.DBus.Properties.Set", 960s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 960s # g_variant_unref (variant); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static const gchar * 960s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 960s # { 960s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 960s # GVariant *variant; 960s # const gchar *value = NULL; 960s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 960s # if (variant != NULL) 960s # { 960s # value = g_variant_get_string (variant, NULL); 960s # g_variant_unref (variant); 960s # } 960s # return value; 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 960s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 960s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 960s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 960s # 960s # com_acme_coyote_override_properties (gobject_class, 1); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 960s # { 960s # iface->get_mood = com_acme_coyote_proxy_get_mood; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # com_acme_coyote_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with com_acme_coyote_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # com_acme_coyote_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_COM_ACME_COYOTE_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_COM_ACME_COYOTE_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.acme.Coyote", NULL); 960s # if (ret != NULL) 960s # return COM_ACME_COYOTE (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * ComAcmeCoyoteSkeleton: 960s # * 960s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * ComAcmeCoyoteSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #ComAcmeCoyoteSkeleton. 960s # */ 960s # 960s # struct _ComAcmeCoyoteSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _com_acme_coyote_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _com_acme_coyote_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _com_acme_coyote_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 960s # { 960s # _com_acme_coyote_skeleton_handle_method_call, 960s # _com_acme_coyote_skeleton_handle_get_property, 960s # _com_acme_coyote_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return com_acme_coyote_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _com_acme_coyote_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 960s # 960s # static void 960s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 960s # gboolean emit_changed = FALSE; 960s # 960s # g_mutex_lock (&skeleton->priv->lock); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # { 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # skeleton->priv->changed_properties_idle_source = NULL; 960s # emit_changed = TRUE; 960s # } 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # 960s # if (emit_changed) 960s # _com_acme_coyote_emit_changed (skeleton); 960s # } 960s # 960s # static void 960s # _com_acme_coyote_on_signal_surprised ( 960s # ComAcmeCoyote *object) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # 960s # GList *connections, *l; 960s # GVariant *signal_variant; 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # 960s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 960s # for (l = connections; l != NULL; l = l->next) 960s # { 960s # GDBusConnection *connection = l->data; 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 960s # signal_variant, NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # 960s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # com_acme_coyote_skeleton_finalize (GObject *object) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # guint n; 960s # for (n = 0; n < 1; n++) 960s # g_value_unset (&skeleton->priv->properties[n]); 960s # g_free (skeleton->priv->properties); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_get_property (GObject *object, 960s # guint prop_id, 960s # GValue *value, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # g_mutex_lock (&skeleton->priv->lock); 960s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # } 960s # 960s # static gboolean 960s # _com_acme_coyote_emit_changed (gpointer user_data) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 960s # GList *l; 960s # GVariantBuilder builder; 960s # GVariantBuilder invalidated_builder; 960s # guint num_changes; 960s # 960s # g_mutex_lock (&skeleton->priv->lock); 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 960s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 960s # { 960s # ChangedProperty *cp = l->data; 960s # GVariant *variant; 960s # const GValue *cur_value; 960s # 960s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 960s # if (!_g_value_equal (cur_value, &cp->orig_value)) 960s # { 960s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 960s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 960s # g_variant_unref (variant); 960s # num_changes++; 960s # } 960s # } 960s # if (num_changes > 0) 960s # { 960s # GList *connections, *ll; 960s # GVariant *signal_variant; 960s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 960s # &builder, &invalidated_builder)); 960s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 960s # for (ll = connections; ll != NULL; ll = ll->next) 960s # { 960s # GDBusConnection *connection = ll->data; 960s # 960s # g_dbus_connection_emit_signal (connection, 960s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 960s # "org.freedesktop.DBus.Properties", 960s # "PropertiesChanged", 960s # signal_variant, 960s # NULL); 960s # } 960s # g_variant_unref (signal_variant); 960s # g_list_free_full (connections, g_object_unref); 960s # } 960s # else 960s # { 960s # g_variant_builder_clear (&builder); 960s # g_variant_builder_clear (&invalidated_builder); 960s # } 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # skeleton->priv->changed_properties = NULL; 960s # skeleton->priv->changed_properties_idle_source = NULL; 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # return FALSE; 960s # } 960s # 960s # static void 960s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 960s # { 960s # ChangedProperty *cp; 960s # GList *l; 960s # cp = NULL; 960s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 960s # { 960s # ChangedProperty *i_cp = l->data; 960s # if (i_cp->info == info) 960s # { 960s # cp = i_cp; 960s # break; 960s # } 960s # } 960s # if (cp == NULL) 960s # { 960s # cp = g_new0 (ChangedProperty, 1); 960s # cp->prop_id = prop_id; 960s # cp->info = info; 960s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 960s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 960s # g_value_copy (orig_value, &cp->orig_value); 960s # } 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_notify (GObject *object, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # g_mutex_lock (&skeleton->priv->lock); 960s # if (skeleton->priv->changed_properties != NULL && 960s # skeleton->priv->changed_properties_idle_source == NULL) 960s # { 960s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 960s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 960s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 960s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 960s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 960s # g_source_unref (skeleton->priv->changed_properties_idle_source); 960s # } 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_set_property (GObject *object, 960s # guint prop_id, 960s # const GValue *value, 960s # GParamSpec *pspec) 960s # { 960s # const _ExtendedGDBusPropertyInfo *info; 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # g_assert (prop_id != 0 && prop_id - 1 < 1); 960s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 960s # g_mutex_lock (&skeleton->priv->lock); 960s # g_object_freeze_notify (object); 960s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 960s # { 960s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 960s # info->emits_changed_signal) 960s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 960s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 960s # g_object_notify_by_pspec (object, pspec); 960s # } 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # g_object_thaw_notify (object); 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # skeleton->priv->properties = g_new0 (GValue, 1); 960s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 960s # } 960s # 960s # static const gchar * 960s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 960s # { 960s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 960s # const gchar *value; 960s # g_mutex_lock (&skeleton->priv->lock); 960s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 960s # g_mutex_unlock (&skeleton->priv->lock); 960s # return value; 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 960s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 960s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 960s # gobject_class->notify = com_acme_coyote_skeleton_notify; 960s # 960s # 960s # com_acme_coyote_override_properties (gobject_class, 1); 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 960s # { 960s # iface->surprised = _com_acme_coyote_on_signal_surprised; 960s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 960s # } 960s # 960s # /** 960s # * com_acme_coyote_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 960s # * 960s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 960s # */ 960s # ComAcmeCoyote * 960s # com_acme_coyote_skeleton_new (void) 960s # { 960s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ 960s # * Code for interface org.project.Bar.Frobnicator 960s # * ------------------------------------------------------------------------ 960s # */ 960s # 960s # /** 960s # * SECTION:OrgProjectBarFrobnicator 960s # * @title: OrgProjectBarFrobnicator 960s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 960s # * 960s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 960s # */ 960s # 960s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 960s # 960s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 960s # { 960s # { 960s # -1, 960s # (gchar *) "RandomMethod", 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "handle-random-method", 960s # FALSE 960s # }; 960s # 960s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 960s # { 960s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 960s # NULL 960s # }; 960s # 960s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 960s # { 960s # { 960s # -1, 960s # (gchar *) "org.project.Bar.Frobnicator", 960s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 960s # NULL, 960s # NULL, 960s # NULL 960s # }, 960s # "org-project-bar-frobnicator", 960s # }; 960s # 960s # 960s # /** 960s # * org_project_bar_frobnicator_interface_info: 960s # * 960s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 960s # * 960s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 960s # */ 960s # GDBusInterfaceInfo * 960s # org_project_bar_frobnicator_interface_info (void) 960s # { 960s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_override_properties: 960s # * @klass: The class structure for a #GObject derived class. 960s # * @property_id_begin: The property id to assign to the first overridden property. 960s # * 960s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 960s # * The properties are overridden in the order they are defined. 960s # * 960s # * Returns: The last property id. 960s # */ 960s # guint 960s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 960s # { 960s # return property_id_begin - 1; 960s # } 960s # 960s # 960s # inline static void 960s # org_project_bar_frobnicator_method_marshal_random_method ( 960s # GClosure *closure, 960s # GValue *return_value, 960s # unsigned int n_param_values, 960s # const GValue *param_values, 960s # void *invocation_hint, 960s # void *marshal_data) 960s # { 960s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 960s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 960s # } 960s # 960s # 960s # /** 960s # * OrgProjectBarFrobnicator: 960s # * 960s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 960s # */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorIface: 960s # * @parent_iface: The parent interface. 960s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 960s # * 960s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 960s # */ 960s # 960s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 960s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 960s # 960s # static void 960s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 960s # { 960s # /* GObject signals for incoming D-Bus method calls: */ 960s # /** 960s # * OrgProjectBarFrobnicator::handle-random-method: 960s # * @object: A #OrgProjectBarFrobnicator. 960s # * @invocation: A #GDBusMethodInvocation. 960s # * 960s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 960s # * 960s # * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_project_bar_frobnicator_complete_random_method() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. 960s # * 960s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 960s # */ 960s # g_signal_new ("handle-random-method", 960s # G_TYPE_FROM_INTERFACE (iface), 960s # G_SIGNAL_RUN_LAST, 960s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 960s # g_signal_accumulator_true_handled, 960s # NULL, 960s # org_project_bar_frobnicator_method_marshal_random_method, 960s # G_TYPE_BOOLEAN, 960s # 1, 960s # G_TYPE_DBUS_METHOD_INVOCATION); 960s # 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_call_random_method: 960s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 960s # * 960s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 960s # */ 960s # void 960s # org_project_bar_frobnicator_call_random_method ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 960s # "RandomMethod", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # callback, 960s # user_data); 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_call_random_method_finish: 960s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # org_project_bar_frobnicator_call_random_method_finish ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_call_random_method_sync: 960s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL. 960s # * 960s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 960s # * 960s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 960s # */ 960s # gboolean 960s # org_project_bar_frobnicator_call_random_method_sync ( 960s # OrgProjectBarFrobnicator *proxy, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GVariant *_ret; 960s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 960s # "RandomMethod", 960s # g_variant_new ("()"), 960s # G_DBUS_CALL_FLAGS_NONE, 960s # -1, 960s # cancellable, 960s # error); 960s # if (_ret == NULL) 960s # goto _out; 960s # g_variant_get (_ret, 960s # "()"); 960s # g_variant_unref (_ret); 960s # _out: 960s # return _ret != NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_complete_random_method: 960s # * @object: A #OrgProjectBarFrobnicator. 960s # * @invocation: (transfer full): A #GDBusMethodInvocation. 960s # * 960s # * Helper function used in service implementations to finish handling invocations of the RandomMethod() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar. 960s # * 960s # * This method will free @invocation, you cannot use it afterwards. 960s # */ 960s # void 960s # org_project_bar_frobnicator_complete_random_method ( 960s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 960s # GDBusMethodInvocation *invocation) 960s # { 960s # g_dbus_method_invocation_return_value (invocation, 960s # g_variant_new ("()")); 960s # } 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorProxy: 960s # * 960s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorProxyClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectBarFrobnicatorProxy. 960s # */ 960s # 960s # struct _OrgProjectBarFrobnicatorProxyPrivate 960s # { 960s # GData *qdata; 960s # }; 960s # 960s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 960s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 960s # { 960s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 960s # g_datalist_clear (&proxy->priv->qdata); 960s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 960s # guint prop_id G_GNUC_UNUSED, 960s # const GValue *value G_GNUC_UNUSED, 960s # GParamSpec *pspec G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 960s # const gchar *sender_name G_GNUC_UNUSED, 960s # const gchar *signal_name, 960s # GVariant *parameters) 960s # { 960s # _ExtendedGDBusSignalInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # gsize n; 960s # guint signal_id; 960s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 960s # if (info == NULL) 960s # return; 960s # num_params = g_variant_n_children (parameters); 960s # paramv = g_new0 (GValue, num_params + 1); 960s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_value_set_object (¶mv[0], proxy); 960s # g_variant_iter_init (&iter, parameters); 960s # n = 1; 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_signal_emitv (paramv, signal_id, 0, NULL); 960s # for (n = 0; n < num_params + 1; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 960s # GVariant *changed_properties, 960s # const gchar *const *invalidated_properties) 960s # { 960s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 960s # guint n; 960s # const gchar *key; 960s # GVariantIter *iter; 960s # _ExtendedGDBusPropertyInfo *info; 960s # g_variant_get (changed_properties, "a{sv}", &iter); 960s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 960s # g_datalist_remove_data (&proxy->priv->qdata, key); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # g_variant_iter_free (iter); 960s # for (n = 0; invalidated_properties[n] != NULL; n++) 960s # { 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 960s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 960s # if (info != NULL) 960s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 960s # } 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 960s # #else 960s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 960s # #endif 960s # 960s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusProxyClass *proxy_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 960s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 960s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 960s # 960s # proxy_class = G_DBUS_PROXY_CLASS (klass); 960s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 960s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_bar_frobnicator_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_sync: 960s # * @connection: A #GDBusConnection. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_for_bus: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 960s # * @user_data: User data to pass to @callback. 960s # * 960s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 960s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 960s # */ 960s # void 960s # org_project_bar_frobnicator_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data) 960s # { 960s # g_async_initable_new_async (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 960s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 960s # * @error: Return location for error or %NULL 960s # * 960s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error) 960s # { 960s # GObject *ret; 960s # GObject *source_object; 960s # source_object = g_async_result_get_source_object (res); 960s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 960s # g_object_unref (source_object); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 960s # * @bus_type: A #GBusType. 960s # * @flags: Flags from the #GDBusProxyFlags enumeration. 960s # * @name: A bus name (well-known or unique). 960s # * @object_path: An object path. 960s # * @cancellable: (nullable): A #GCancellable or %NULL. 960s # * @error: Return location for error or %NULL 960s # * 960s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 960s # * 960s # * The calling thread is blocked until a reply is received. 960s # * 960s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error) 960s # { 960s # GInitable *ret; 960s # ret = g_initable_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.project.Bar.Frobnicator", NULL); 960s # if (ret != NULL) 960s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 960s # else 960s # return NULL; 960s # } 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorSkeleton: 960s # * 960s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 960s # */ 960s # 960s # /** 960s # * OrgProjectBarFrobnicatorSkeletonClass: 960s # * @parent_class: The parent class. 960s # * 960s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 960s # */ 960s # 960s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 960s # { 960s # GValue *properties; 960s # GList *changed_properties; 960s # GSource *changed_properties_idle_source; 960s # GMainContext *context; 960s # GMutex lock; 960s # }; 960s # 960s # static void 960s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name, 960s # const gchar *method_name, 960s # GVariant *parameters, 960s # GDBusMethodInvocation *invocation, 960s # gpointer user_data) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 960s # _ExtendedGDBusMethodInfo *info; 960s # GVariantIter iter; 960s # GVariant *child; 960s # GValue *paramv; 960s # gsize num_params; 960s # guint num_extra; 960s # gsize n; 960s # guint signal_id; 960s # GValue return_value = G_VALUE_INIT; 960s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 960s # g_assert (info != NULL); 960s # num_params = g_variant_n_children (parameters); 960s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 960s # n = 0; 960s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_value_set_object (¶mv[n++], skeleton); 960s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 960s # g_value_set_object (¶mv[n++], invocation); 960s # if (info->pass_fdlist) 960s # { 960s # #ifdef G_OS_UNIX 960s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 960s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 960s # #else 960s # g_assert_not_reached (); 960s # #endif 960s # } 960s # g_variant_iter_init (&iter, parameters); 960s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 960s # { 960s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 960s # if (arg_info->use_gvariant) 960s # { 960s # g_value_init (¶mv[n], G_TYPE_VARIANT); 960s # g_value_set_variant (¶mv[n], child); 960s # n++; 960s # } 960s # else 960s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 960s # g_variant_unref (child); 960s # } 960s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 960s # g_value_init (&return_value, G_TYPE_BOOLEAN); 960s # g_signal_emitv (paramv, signal_id, 0, &return_value); 960s # if (!g_value_get_boolean (&return_value)) 960s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 960s # g_value_unset (&return_value); 960s # for (n = 0; n < num_params + num_extra; n++) 960s # g_value_unset (¶mv[n]); 960s # g_free (paramv); 960s # } 960s # 960s # static GVariant * 960s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # GVariant *ret; 960s # ret = NULL; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # g_value_init (&value, pspec->value_type); 960s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 960s # g_value_unset (&value); 960s # } 960s # return ret; 960s # } 960s # 960s # static gboolean 960s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 960s # GDBusConnection *connection G_GNUC_UNUSED, 960s # const gchar *sender G_GNUC_UNUSED, 960s # const gchar *object_path G_GNUC_UNUSED, 960s # const gchar *interface_name G_GNUC_UNUSED, 960s # const gchar *property_name, 960s # GVariant *variant, 960s # GError **error, 960s # gpointer user_data) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 960s # GValue value = G_VALUE_INIT; 960s # GParamSpec *pspec; 960s # _ExtendedGDBusPropertyInfo *info; 960s # gboolean ret; 960s # ret = FALSE; 960s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 960s # g_assert (info != NULL); 960s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 960s # if (pspec == NULL) 960s # { 960s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 960s # } 960s # else 960s # { 960s # if (info->use_gvariant) 960s # g_value_set_variant (&value, variant); 960s # else 960s # g_dbus_gvariant_to_gvalue (variant, &value); 960s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 960s # g_value_unset (&value); 960s # ret = TRUE; 960s # } 960s # return ret; 960s # } 960s # 960s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 960s # { 960s # _org_project_bar_frobnicator_skeleton_handle_method_call, 960s # _org_project_bar_frobnicator_skeleton_handle_get_property, 960s # _org_project_bar_frobnicator_skeleton_handle_set_property, 960s # {NULL} 960s # }; 960s # 960s # static GDBusInterfaceInfo * 960s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return org_project_bar_frobnicator_interface_info (); 960s # } 960s # 960s # static GDBusInterfaceVTable * 960s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 960s # { 960s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 960s # } 960s # 960s # static GVariant * 960s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 960s # 960s # GVariantBuilder builder; 960s # guint n; 960s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 960s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 960s # goto out; 960s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 960s # { 960s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 960s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 960s # { 960s # GVariant *value; 960s # value = _org_project_bar_frobnicator_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.Bar.Frobnicator", info->name, NULL, skeleton); 960s # if (value != NULL) 960s # { 960s # g_variant_take_ref (value); 960s # g_variant_builder_add (&builder, "{sv}", info->name, value); 960s # g_variant_unref (value); 960s # } 960s # } 960s # } 960s # out: 960s # return g_variant_builder_end (&builder); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 960s # 960s # #else 960s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 960s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 960s # 960s # #endif 960s # static void 960s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 960s # { 960s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 960s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 960s # if (skeleton->priv->changed_properties_idle_source != NULL) 960s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 960s # g_main_context_unref (skeleton->priv->context); 960s # g_mutex_clear (&skeleton->priv->lock); 960s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 960s # { 960s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 960s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 960s # #else 960s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 960s # #endif 960s # 960s # g_mutex_init (&skeleton->priv->lock); 960s # skeleton->priv->context = g_main_context_ref_thread_default (); 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 960s # { 960s # GObjectClass *gobject_class; 960s # GDBusInterfaceSkeletonClass *skeleton_class; 960s # 960s # gobject_class = G_OBJECT_CLASS (klass); 960s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 960s # 960s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 960s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 960s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 960s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 960s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 960s # 960s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 960s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 960s # #endif 960s # } 960s # 960s # static void 960s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 960s # { 960s # } 960s # 960s # /** 960s # * org_project_bar_frobnicator_skeleton_new: 960s # * 960s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 960s # * 960s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 960s # */ 960s # OrgProjectBarFrobnicator * 960s # org_project_bar_frobnicator_skeleton_new (void) 960s # { 960s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 960s # } 960s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 960s # tmpdir: /tmp/tmp2_6_i5y9 960s # codegen: /usr/bin/gdbus-codegen 960s # /tmp/tmp2_6_i5y9/tmptwl6iusd.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2_6_i5y9/tmptwl6iusd.xml', '--output', '-', '--header'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for FDPassing */ 960s # 960s # #define TYPE_FDPASSING (fdpassing_get_type ()) 960s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 960s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 960s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 960s # 960s # struct _FDPassing; 960s # typedef struct _FDPassing FDPassing; 960s # typedef struct _FDPassingIface FDPassingIface; 960s # 960s # struct _FDPassingIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # gboolean (*handle_hello_fd) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # const gchar *arg_greeting); 960s # 960s # gboolean (*handle_no_annotation) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale); 960s # 960s # gboolean (*handle_no_annotation_nested) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GVariant *arg_files); 960s # 960s # }; 960s # 960s # GType fdpassing_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *fdpassing_interface_info (void); 960s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void fdpassing_complete_hello_fd ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # const gchar *response); 960s # 960s # void fdpassing_complete_no_annotation ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GVariant *response, 960s # const gchar *response_locale); 960s # 960s # void fdpassing_complete_no_annotation_nested ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void fdpassing_call_hello_fd ( 960s # FDPassing *proxy, 960s # const gchar *arg_greeting, 960s # GUnixFDList *fd_list, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_hello_fd_finish ( 960s # FDPassing *proxy, 960s # gchar **out_response, 960s # GUnixFDList **out_fd_list, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_hello_fd_sync ( 960s # FDPassing *proxy, 960s # const gchar *arg_greeting, 960s # GUnixFDList *fd_list, 960s # gchar **out_response, 960s # GUnixFDList **out_fd_list, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_call_no_annotation ( 960s # FDPassing *proxy, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_no_annotation_finish ( 960s # FDPassing *proxy, 960s # GVariant **out_response, 960s # gchar **out_response_locale, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_no_annotation_sync ( 960s # FDPassing *proxy, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale, 960s # GVariant **out_response, 960s # gchar **out_response_locale, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_call_no_annotation_nested ( 960s # FDPassing *proxy, 960s # GVariant *arg_files, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_no_annotation_nested_finish ( 960s # FDPassing *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_no_annotation_nested_sync ( 960s # FDPassing *proxy, 960s # GVariant *arg_files, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 960s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 960s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 960s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 960s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 960s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 960s # 960s # typedef struct _FDPassingProxy FDPassingProxy; 960s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 960s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 960s # 960s # struct _FDPassingProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # FDPassingProxyPrivate *priv; 960s # }; 960s # 960s # struct _FDPassingProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 960s # #endif 960s # 960s # void fdpassing_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # FDPassing *fdpassing_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # FDPassing *fdpassing_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 960s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 960s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 960s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 960s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 960s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 960s # 960s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 960s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 960s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 960s # 960s # struct _FDPassingSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # FDPassingSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _FDPassingSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 960s # #endif 960s # 960s # FDPassing *fdpassing_skeleton_new (void); 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s # /tmp/tmp2_6_i5y9/tmpsy9m1ctn.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2_6_i5y9/tmpsy9m1ctn.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for FDPassing */ 960s # 960s # #define TYPE_FDPASSING (fdpassing_get_type ()) 960s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 960s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 960s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 960s # 960s # struct _FDPassing; 960s # typedef struct _FDPassing FDPassing; 960s # typedef struct _FDPassingIface FDPassingIface; 960s # 960s # struct _FDPassingIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # gboolean (*handle_hello_fd) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # const gchar *arg_greeting); 960s # 960s # gboolean (*handle_no_annotation) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale); 960s # 960s # gboolean (*handle_no_annotation_nested) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GVariant *arg_files); 960s # 960s # }; 960s # 960s # GType fdpassing_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *fdpassing_interface_info (void); 960s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void fdpassing_complete_hello_fd ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # const gchar *response); 960s # 960s # void fdpassing_complete_no_annotation ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GVariant *response, 960s # const gchar *response_locale); 960s # 960s # void fdpassing_complete_no_annotation_nested ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void fdpassing_call_hello_fd ( 960s # FDPassing *proxy, 960s # const gchar *arg_greeting, 960s # GUnixFDList *fd_list, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_hello_fd_finish ( 960s # FDPassing *proxy, 960s # gchar **out_response, 960s # GUnixFDList **out_fd_list, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_hello_fd_sync ( 960s # FDPassing *proxy, 960s # const gchar *arg_greeting, 960s # GUnixFDList *fd_list, 960s # gchar **out_response, 960s # GUnixFDList **out_fd_list, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_call_no_annotation ( 960s # FDPassing *proxy, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_no_annotation_finish ( 960s # FDPassing *proxy, 960s # GVariant **out_response, 960s # gchar **out_response_locale, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_no_annotation_sync ( 960s # FDPassing *proxy, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale, 960s # GVariant **out_response, 960s # gchar **out_response_locale, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_call_no_annotation_nested ( 960s # FDPassing *proxy, 960s # GVariant *arg_files, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_no_annotation_nested_finish ( 960s # FDPassing *proxy, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_no_annotation_nested_sync ( 960s # FDPassing *proxy, 960s # GVariant *arg_files, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 960s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 960s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 960s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 960s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 960s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 960s # 960s # typedef struct _FDPassingProxy FDPassingProxy; 960s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 960s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 960s # 960s # struct _FDPassingProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # FDPassingProxyPrivate *priv; 960s # }; 960s # 960s # struct _FDPassingProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 960s # #endif 960s # 960s # void fdpassing_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # FDPassing *fdpassing_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # FDPassing *fdpassing_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 960s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 960s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 960s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 960s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 960s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 960s # 960s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 960s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 960s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 960s # 960s # struct _FDPassingSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # FDPassingSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _FDPassingSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 960s # #endif 960s # 960s # FDPassing *fdpassing_skeleton_new (void); 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s # /tmp/tmp2_6_i5y9/tmpsn119116.xml: 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # 960s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2_6_i5y9/tmpsn119116.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 960s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 960s # Output: /* 960s # * This file is generated by gdbus-codegen, do not modify it. 960s # * 960s # * The license of this code is the same as for the D-Bus interface description 960s # * it was derived from. Note that it links to GLib, so must comply with the 960s # * LGPL linking clauses. 960s # */ 960s # 960s # #ifndef __STDOUT__ 960s # #define __STDOUT__ 960s # 960s # #include 960s # 960s # G_BEGIN_DECLS 960s # 960s # 960s # /* ------------------------------------------------------------------------ */ 960s # /* Declarations for FDPassing */ 960s # 960s # #define TYPE_FDPASSING (fdpassing_get_type ()) 960s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 960s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 960s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 960s # 960s # struct _FDPassing; 960s # typedef struct _FDPassing FDPassing; 960s # typedef struct _FDPassingIface FDPassingIface; 960s # 960s # struct _FDPassingIface 960s # { 960s # GTypeInterface parent_iface; 960s # 960s # gboolean (*handle_hello_fd) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # const gchar *arg_greeting); 960s # 960s # gboolean (*handle_no_annotation) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale); 960s # 960s # gboolean (*handle_no_annotation_nested) ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # GVariant *arg_files); 960s # 960s # }; 960s # 960s # GType fdpassing_get_type (void) G_GNUC_CONST; 960s # 960s # GDBusInterfaceInfo *fdpassing_interface_info (void); 960s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 960s # 960s # 960s # /* D-Bus method call completion functions: */ 960s # void fdpassing_complete_hello_fd ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # const gchar *response); 960s # 960s # void fdpassing_complete_no_annotation ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list, 960s # GVariant *response, 960s # const gchar *response_locale); 960s # 960s # void fdpassing_complete_no_annotation_nested ( 960s # FDPassing *object, 960s # GDBusMethodInvocation *invocation, 960s # GUnixFDList *fd_list); 960s # 960s # 960s # 960s # /* D-Bus method calls: */ 960s # void fdpassing_call_hello_fd ( 960s # FDPassing *proxy, 960s # const gchar *arg_greeting, 960s # GDBusCallFlags call_flags, 960s # gint timeout_msec, 960s # GUnixFDList *fd_list, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_hello_fd_finish ( 960s # FDPassing *proxy, 960s # gchar **out_response, 960s # GUnixFDList **out_fd_list, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_hello_fd_sync ( 960s # FDPassing *proxy, 960s # const gchar *arg_greeting, 960s # GDBusCallFlags call_flags, 960s # gint timeout_msec, 960s # GUnixFDList *fd_list, 960s # gchar **out_response, 960s # GUnixFDList **out_fd_list, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_call_no_annotation ( 960s # FDPassing *proxy, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale, 960s # GDBusCallFlags call_flags, 960s # gint timeout_msec, 960s # GUnixFDList *fd_list, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_no_annotation_finish ( 960s # FDPassing *proxy, 960s # GVariant **out_response, 960s # gchar **out_response_locale, 960s # GUnixFDList **out_fd_list, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_no_annotation_sync ( 960s # FDPassing *proxy, 960s # GVariant *arg_greeting, 960s # const gchar *arg_greeting_locale, 960s # GDBusCallFlags call_flags, 960s # gint timeout_msec, 960s # GUnixFDList *fd_list, 960s # GVariant **out_response, 960s # gchar **out_response_locale, 960s # GUnixFDList **out_fd_list, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_call_no_annotation_nested ( 960s # FDPassing *proxy, 960s # GVariant *arg_files, 960s # GDBusCallFlags call_flags, 960s # gint timeout_msec, 960s # GUnixFDList *fd_list, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # 960s # gboolean fdpassing_call_no_annotation_nested_finish ( 960s # FDPassing *proxy, 960s # GUnixFDList **out_fd_list, 960s # GAsyncResult *res, 960s # GError **error); 960s # 960s # gboolean fdpassing_call_no_annotation_nested_sync ( 960s # FDPassing *proxy, 960s # GVariant *arg_files, 960s # GDBusCallFlags call_flags, 960s # gint timeout_msec, 960s # GUnixFDList *fd_list, 960s # GUnixFDList **out_fd_list, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 960s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 960s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 960s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 960s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 960s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 960s # 960s # typedef struct _FDPassingProxy FDPassingProxy; 960s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 960s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 960s # 960s # struct _FDPassingProxy 960s # { 960s # /*< private >*/ 960s # GDBusProxy parent_instance; 960s # FDPassingProxyPrivate *priv; 960s # }; 960s # 960s # struct _FDPassingProxyClass 960s # { 960s # GDBusProxyClass parent_class; 960s # }; 960s # 960s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 960s # #endif 960s # 960s # void fdpassing_proxy_new ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # FDPassing *fdpassing_proxy_new_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # FDPassing *fdpassing_proxy_new_sync ( 960s # GDBusConnection *connection, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # void fdpassing_proxy_new_for_bus ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GAsyncReadyCallback callback, 960s # gpointer user_data); 960s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 960s # GAsyncResult *res, 960s # GError **error); 960s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 960s # GBusType bus_type, 960s # GDBusProxyFlags flags, 960s # const gchar *name, 960s # const gchar *object_path, 960s # GCancellable *cancellable, 960s # GError **error); 960s # 960s # 960s # /* ---- */ 960s # 960s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 960s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 960s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 960s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 960s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 960s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 960s # 960s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 960s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 960s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 960s # 960s # struct _FDPassingSkeleton 960s # { 960s # /*< private >*/ 960s # GDBusInterfaceSkeleton parent_instance; 960s # FDPassingSkeletonPrivate *priv; 960s # }; 960s # 960s # struct _FDPassingSkeletonClass 960s # { 960s # GDBusInterfaceSkeletonClass parent_class; 960s # }; 960s # 960s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 960s # 960s # #if GLIB_CHECK_VERSION(2, 44, 0) 960s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 960s # #endif 960s # 960s # FDPassing *fdpassing_skeleton_new (void); 960s # 960s # 960s # G_END_DECLS 960s # 960s # #endif /* __STDOUT__ */ 960s 1..39 960s ok - glib/codegen.py.test 960s # Running test: glib/test-printf.test 960s TAP version 14 960s # random seed: R02S2a0e5789739188f88481dcd2bf009a7a 960s 1..22 960s # Start of snprintf tests 960s ok 1 /snprintf/retval-and-trunc 960s ok 2 /snprintf/%d 960s ok 3 /snprintf/%d-invalid 960s ok 4 /snprintf/%o 960s ok 5 /snprintf/%u 960s ok 6 /snprintf/%x 960s ok 7 /snprintf/%X 960s ok 8 /snprintf/%f 960s ok 9 /snprintf/%e 960s ok 10 /snprintf/%c 960s ok 11 /snprintf/%s 960s ok 12 /snprintf/%n 960s ok 13 /snprintf/test-percent 960s ok 14 /snprintf/test-positional-params 960s ok 15 /snprintf/test-64bit 960s # End of snprintf tests 960s # Start of printf tests 960s ok 16 /printf/test-percent 960s ok 17 /printf/test-positional-params 960s ok 18 /printf/test-64bit 960s # Start of test-64bit tests 960s # Start of subprocess tests 960s # End of subprocess tests 960s # End of test-64bit tests 960s # End of printf tests 960s # Start of sprintf tests 960s ok 19 /sprintf/test-positional-params 960s ok 20 /sprintf/upper-bound 960s # End of sprintf tests 960s # Start of vasprintf tests 960s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 960s ok 21 /vasprintf/invalid-format-placeholder 960s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 960s ok 22 /vasprintf/invalid-wide-string 960s # End of vasprintf tests 960s ok - glib/test-printf.test 960s # Running test: glib/task.test 960s TAP version 14 960s # random seed: R02S36fc8ca933cdabb5069377e290b35add 960s 1..36 960s # Start of gtask tests 960s ok 1 /gtask/basic 960s ok 2 /gtask/error 960s ok 3 /gtask/error-literal 960s ok 4 /gtask/error-literal-from-variable 960s ok 5 /gtask/return-from-same-iteration 960s ok 6 /gtask/return-from-toplevel 960s ok 7 /gtask/return-from-anon-thread 960s ok 8 /gtask/return-from-wrong-thread 960s ok 9 /gtask/no-callback 960s ok 10 /gtask/report-error 960s ok 11 /gtask/priority 960s ok 12 /gtask/name 960s ok 13 /gtask/static-name 960s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 960s ok 14 /gtask/asynchronous-cancellation 960s ok 15 /gtask/check-cancellable 960s ok 16 /gtask/return-if-cancelled 960s ok 17 /gtask/run-in-thread 960s ok 18 /gtask/run-in-thread-sync 960s ok 19 /gtask/run-in-thread-priority 960s ok 20 /gtask/run-in-thread-nested 961s ok 21 /gtask/run-in-thread-overflow 961s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 961s # GLib-GIO-DEBUG: GTask 0x783306e33f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 961s # GLib-GIO-DEBUG: GTask 0x783306e2530 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 961s ok 22 /gtask/return-on-cancel 961s # GLib-GIO-DEBUG: GTask 0x783306e2d30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 961s # GLib-GIO-DEBUG: GTask 0x78330753e60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 961s ok 23 /gtask/return-on-cancel-sync 961s ok 24 /gtask/return-on-cancel-atomic 961s ok 25 /gtask/return-pointer 961s ok 26 /gtask/return-value 961s ok 27 /gtask/return-prefixed-error 961s ok 28 /gtask/object-keepalive 961s ok 29 /gtask/legacy-error 961s ok 30 /gtask/finalize-without-return 961s # Start of name tests 961s ok 31 /gtask/name/macro-wrapper 961s # End of name tests 961s # Start of return tests 961s ok 32 /gtask/return/error-first 961s ok 33 /gtask/return/value-first 961s # Start of in-idle tests 961s ok 34 /gtask/return/in-idle/error-first 961s ok 35 /gtask/return/in-idle/value-first 961s # End of in-idle tests 961s # End of return tests 961s # Start of attach-source tests 961s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 961s ok 36 /gtask/attach-source/set-name 961s # End of attach-source tests 961s # End of gtask tests 961s ok - glib/task.test 961s # Running test: glib/power-profile-monitor.test 961s TAP version 14 961s # random seed: R02S0fdda25d86c6c9150f8f16e057caeea0 961s 1..1 961s # Start of power-profile-monitor tests 961s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 961s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 961s ok 1 /power-profile-monitor/default 961s # End of power-profile-monitor tests 961s ok - glib/power-profile-monitor.test 961s # Running test: glib/properties-refcount2.test 961s TAP version 14 961s # random seed: R02Sc9ab74080172f965dfee23b8d70c384b 961s 1..1 961s # Start of gobject tests 961s # Start of refcount tests 961s # init 0x637b532e770 961s # 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 961s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 962s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 963s # . 964s # . 964s # . 964s # . 964s # . 964s # Executing: glib/properties-refcount2.test 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # . 964s # dispose 0x637b532e770! 964s # 964s ok 1 /gobject/refcount/properties-2 964s # slow test /gobject/refcount/properties-2 executed in 3.38 secs 964s # End of refcount tests 964s # End of gobject tests 964s ok - glib/properties-refcount2.test 964s # Running test: glib/deprecated-properties.test 964s TAP version 14 964s # random seed: R02S9064e4423f6fcdb5db282d4d0ce0092a 964s 1..3 964s # Start of deprecated-properties tests 964s ok 1 /deprecated-properties/construct 964s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 964s ok 2 /deprecated-properties/default-construct 964s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 964s ok 3 /deprecated-properties/set 964s # End of deprecated-properties tests 964s ok - glib/deprecated-properties.test 964s # Running test: glib/messages-low-memory.py.test 964s TAP version 13 964s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 964s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 964s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 964s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 964s # Return code: -6 964s # Output: 964s # Error: GLib-Message: 11:11:27.587: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 964s # GLib-Message: 11:11:27.587: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 964s # ../../../glib/gprintf.c:350: failed to allocate memory 964s 1..1 964s ok - glib/messages-low-memory.py.test 964s # Running test: glib/flags.test 964s TAP version 14 964s # random seed: R02S98b59f1116bd24ef44a75edf2fbe378c 964s 1..1 964s # Start of gobject tests 964s # Start of flags tests 964s ok 1 /gobject/flags/validate 964s # End of flags tests 964s # End of gobject tests 964s ok - glib/flags.test 964s # Running test: glib/unix-streams.test 964s TAP version 14 964s # random seed: R02Sc3a7348a81472594af779a2e9c69809c 964s 1..9 964s # Start of unix-streams tests 964s ok 1 /unix-streams/basic 965s ok 2 /unix-streams/pipe-io-test 965s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 965s ok 3 /unix-streams/nonblocking-io-test 965s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 965s ok 4 /unix-streams/read_write 965s ok 5 /unix-streams/read_writev 965s ok 6 /unix-streams/write-wouldblock 965s ok 7 /unix-streams/writev-wouldblock 965s ok 8 /unix-streams/write-async-wouldblock 965s ok 9 /unix-streams/writev-async-wouldblock 965s # End of unix-streams tests 965s ok - glib/unix-streams.test 965s # Running test: glib/properties-introspection.test 965s TAP version 14 965s # random seed: R02S3a2e9ff49b42db0ee509f4a49a6f3fcd 965s 1..2 965s # Start of properties tests 965s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 965s ok 1 /properties/introspection 965s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 965s ok 2 /properties/collision 965s # End of properties tests 965s ok - glib/properties-introspection.test 965s # Running test: glib/markup-parse.test 965s TAP version 14 965s # random seed: R02Seb299aee921b0d2ce1001cc9e4b9614c 965s 1..71 965s # Start of markup tests 965s # Start of parse tests 965s ok 1 /markup/parse/fail-20.gmarkup 965s ok 2 /markup/parse/fail-17.gmarkup 965s ok 3 /markup/parse/fail-9.gmarkup 965s ok 4 /markup/parse/fail-5.gmarkup 965s ok 5 /markup/parse/fail-24.gmarkup 965s ok 6 /markup/parse/fail-26.gmarkup 965s ok 7 /markup/parse/valid-17.gmarkup 965s ok 8 /markup/parse/valid-9.gmarkup 965s ok 9 /markup/parse/fail-45.gmarkup 965s ok 10 /markup/parse/fail-14.gmarkup 965s ok 11 /markup/parse/fail-48.gmarkup 965s ok 12 /markup/parse/fail-35.gmarkup 965s ok 13 /markup/parse/fail-28.gmarkup 965s ok 14 /markup/parse/fail-1.gmarkup 965s ok 15 /markup/parse/fail-27.gmarkup 965s ok 16 /markup/parse/valid-13.gmarkup 965s ok 17 /markup/parse/fail-37.gmarkup 965s ok 18 /markup/parse/valid-8.gmarkup 965s ok 19 /markup/parse/valid-2.gmarkup 965s ok 20 /markup/parse/fail-47.gmarkup 965s ok 21 /markup/parse/fail-4.gmarkup 965s ok 22 /markup/parse/fail-50.gmarkup 965s ok 23 /markup/parse/fail-6.gmarkup 965s ok 24 /markup/parse/fail-49.gmarkup 965s ok 25 /markup/parse/fail-30.gmarkup 965s ok 26 /markup/parse/fail-25.gmarkup 965s ok 27 /markup/parse/fail-41.gmarkup 965s ok 28 /markup/parse/valid-3.gmarkup 965s ok 29 /markup/parse/fail-18.gmarkup 965s ok 30 /markup/parse/fail-8.gmarkup 965s ok 31 /markup/parse/valid-5.gmarkup 965s ok 32 /markup/parse/fail-7.gmarkup 965s ok 33 /markup/parse/valid-15.gmarkup 965s ok 34 /markup/parse/fail-44.gmarkup 965s ok 35 /markup/parse/fail-34.gmarkup 965s ok 36 /markup/parse/fail-31.gmarkup 965s ok 37 /markup/parse/fail-22.gmarkup 965s ok 38 /markup/parse/fail-38.gmarkup 965s ok 39 /markup/parse/fail-12.gmarkup 965s ok 40 /markup/parse/fail-13.gmarkup 965s ok 41 /markup/parse/fail-42.gmarkup 965s ok 42 /markup/parse/fail-16.gmarkup 965s ok 43 /markup/parse/valid-11.gmarkup 965s ok 44 /markup/parse/fail-36.gmarkup 965s ok 45 /markup/parse/fail-52.gmarkup 965s ok 46 /markup/parse/valid-10.gmarkup 965s ok 47 /markup/parse/valid-4.gmarkup 965s ok 48 /markup/parse/fail-54.gmarkup 965s ok 49 /markup/parse/fail-11.gmarkup 965s ok 50 /markup/parse/fail-32.gmarkup 965s ok 51 /markup/parse/valid-12.gmarkup 965s ok 52 /markup/parse/fail-39.gmarkup 965s ok 53 /markup/parse/valid-6.gmarkup 965s ok 54 /markup/parse/fail-53.gmarkup 965s ok 55 /markup/parse/fail-29.gmarkup 965s ok 56 /markup/parse/fail-33.gmarkup 965s ok 57 /markup/parse/fail-19.gmarkup 965s ok 58 /markup/parse/fail-46.gmarkup 965s ok 59 /markup/parse/valid-7.gmarkup 965s ok 60 /markup/parse/valid-16.gmarkup 965s ok 61 /markup/parse/valid-1.gmarkup 965s ok 62 /markup/parse/fail-2.gmarkup 965s ok 63 /markup/parse/fail-21.gmarkup 965s ok 64 /markup/parse/valid-14.gmarkup 965s ok 65 /markup/parse/fail-51.gmarkup 965s ok 66 /markup/parse/fail-40.gmarkup 965s ok 67 /markup/parse/fail-43.gmarkup 965s ok 68 /markup/parse/fail-23.gmarkup 965s ok 69 /markup/parse/fail-15.gmarkup 965s ok 70 /markup/parse/fail-10.gmarkup 965s ok 71 /markup/parse/fail-3.gmarkup 965s # End of parse tests 965s # End of markup tests 965s ok - glib/markup-parse.test 965s # Running test: glib/rcbox.test 965s TAP version 14 965s # random seed: R02Sb641d7ebdb08d5396abf74b79f2b97e7 965s 1..8 965s # Start of rcbox tests 965s ok 1 /rcbox/new 965s # global_point = 0x93f3ed488d0 965s ok 2 /rcbox/release-full 965s # global_point_a = 0x93f3ed488d0 965s # global_point_b = 0x93f3ed48890 965s ok 3 /rcbox/dup 965s ok 4 /rcbox/alignment 965s # End of rcbox tests 965s # Start of atomic-rcbox tests 965s ok 5 /atomic-rcbox/new 965s # global_point = 0x93f3ed48aa0 965s ok 6 /atomic-rcbox/release-full 965s # global_point_a = 0x93f3ed48aa0 965s # global_point_b = 0x93f3ed48a60 965s ok 7 /atomic-rcbox/dup 965s ok 8 /atomic-rcbox/alignment 965s # End of atomic-rcbox tests 965s ok - glib/rcbox.test 965s # Running test: glib/async-close-output-stream.test 965s TAP version 14 965s # random seed: R02S61d3aaac23405c3c36dac171faf1418f 965s 1..3 965s # Start of close-async tests 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 965s ok 1 /close-async/without-flush 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 965s ok 2 /close-async/with-flush 965s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 965s ok 3 /close-async/with-async-flush 965s # End of close-async tests 965s ok - glib/async-close-output-stream.test 965s # Running test: glib/deftype.test 965s ok - glib/deftype.test 965s # Running test: glib/thread-pool.test 965s TAP version 14 965s # random seed: R02Sb4686185024c17109c49550ece7c8443 965s 1..5 965s # Start of thread_pool tests 965s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 965s ok 1 /thread_pool/shared 965s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 965s ok 2 /thread_pool/exclusive 965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 965s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 965s ok 3 /thread_pool/create_shared_after_exclusive 965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 965s ok 4 /thread_pool/create_full 965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 965s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 965s ok 5 /thread_pool/create_exclusive_after_shared 965s # End of thread_pool tests 965s ok - glib/thread-pool.test 965s # Running test: glib/application-command-line.test 965s TAP version 14 965s # random seed: R02S66dbf8408dac4d6bf778bac0cdab5fba 965s 1..1 965s # Start of application-command-line tests 965s ok 1 /application-command-line/basic-properties 965s # End of application-command-line tests 965s ok - glib/application-command-line.test 965s # Running test: glib/object.test 965s TAP version 14 965s # random seed: R02Sf38502b43b7f00e31972bff5cff52eae 965s 1..2 965s # Start of object tests 965s # Start of constructor tests 965s ok 1 /object/constructor/singleton 965s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 965s # End of constructor tests 965s # End of object tests 965s ok - glib/object.test 965s # Running test: glib/custom-dispatch.test 965s TAP version 14 965s # random seed: R02S1480592c76e043dd34e53f675426ce3d 965s 1..2 965s # Start of properties tests 965s # Start of custom-dispatch tests 965s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 965s ok 1 /properties/custom-dispatch/init 965s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 965s ok 2 /properties/custom-dispatch/set 965s # End of custom-dispatch tests 965s # End of properties tests 965s ok - glib/custom-dispatch.test 965s # Running test: glib/gdbus-auth.test 965s TAP version 14 965s # random seed: R02S1cb05ea5e2f2ca52bbb3aa871659351d 965s 1..5 965s # Start of gdbus tests 965s # Start of auth tests 965s # Start of client tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/EXTERNAL/.dirs/runtime 965s ok 1 /gdbus/auth/client/EXTERNAL 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 965s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 965s # End of client tests 965s # Start of server tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/ANONYMOUS/.dirs/runtime 965s ok 3 /gdbus/auth/server/ANONYMOUS 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/EXTERNAL/.dirs/runtime 965s ok 4 /gdbus/auth/server/EXTERNAL 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_0PPL02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 965s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 965s # End of server tests 965s # End of auth tests 965s # End of gdbus tests 965s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 965s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 965s ok - glib/gdbus-auth.test 965s # Running test: glib/gdbus-server-auth.test 965s TAP version 14 965s # random seed: R02S33e801d9d1e840a95a034e22fb6b7e77 965s 1..9 965s # Start of gdbus tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/.dirs/runtime 965s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-G4DL02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 965s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-G4DL02/dbus-KgmpyuuO 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4188 965s ok 1 /gdbus/server-auth 965s # Start of server-auth tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/abstract/.dirs/runtime 965s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-0WXL02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 965s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-0WXL02/dbus-U7YyS2jM 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 965s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 965s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4188 965s ok 2 /gdbus/server-auth/abstract 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/tcp/.dirs/runtime 965s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 965s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/.dirs/runtime 965s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-02YM02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 965s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-02YM02/dbus-vOMgeK9s 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4188 965s ok 4 /gdbus/server-auth/anonymous 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/.dirs/runtime 965s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-P2TN02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 965s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-P2TN02/dbus-C0R1nei9 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4188 965s ok 5 /gdbus/server-auth/external 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/.dirs/runtime 965s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-PZJN02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 965s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 965s # Start of anonymous tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 965s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 965s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 965s # End of anonymous tests 965s # Start of external tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/external/require-same-user/.dirs/runtime 965s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-MSJN02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 965s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MHEL02/gdbus-server-auth-MSJN02/dbus-gMxxICJk 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4188 965s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 965s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 965s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 965s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4188,uid=1000,gid=1000 965s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4188 965s ok 8 /gdbus/server-auth/external/require-same-user 965s # End of external tests 965s # Start of sha1 tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MHEL02/gdbus/server-auth/sha1/tcp/.dirs/runtime 965s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 965s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 965s # End of sha1 tests 965s # End of server-auth tests 965s # End of gdbus tests 965s ok - glib/gdbus-server-auth.test 965s # Running test: glib/resolver-parsing.test 965s TAP version 14 965s # random seed: R02S255322e8f9a69fb4ca0368f0b01a7059 965s 1..21 965s # Start of gresolver tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/invalid-header/.dirs/runtime 965s ok 1 /gresolver/invalid-header 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/record-ownership/.dirs/runtime 965s ok 2 /gresolver/record-ownership 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/unknown-record-type/.dirs/runtime 965s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 965s ok 3 /gresolver/unknown-record-type 965s # Start of mx tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/valid/.dirs/runtime 965s ok 4 /gresolver/mx/valid 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/.dirs/runtime 965s ok 5 /gresolver/mx/invalid 965s # Start of invalid tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short/.dirs/runtime 965s ok 6 /gresolver/mx/invalid/too-short 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/mx/invalid/too-short2/.dirs/runtime 965s ok 7 /gresolver/mx/invalid/too-short2 965s # End of invalid tests 965s # End of mx tests 965s # Start of ns tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/valid/.dirs/runtime 965s ok 8 /gresolver/ns/valid 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/ns/invalid/.dirs/runtime 965s ok 9 /gresolver/ns/invalid 965s # End of ns tests 965s # Start of soa tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/valid/.dirs/runtime 965s ok 10 /gresolver/soa/valid 965s # Start of invalid tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/mname/.dirs/runtime 965s ok 11 /gresolver/soa/invalid/mname 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/rname/.dirs/runtime 965s ok 12 /gresolver/soa/invalid/rname 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/soa/invalid/too-short/.dirs/runtime 965s ok 13 /gresolver/soa/invalid/too-short 965s # End of invalid tests 965s # End of soa tests 965s # Start of srv tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/valid/.dirs/runtime 965s ok 14 /gresolver/srv/valid 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/.dirs/runtime 965s ok 15 /gresolver/srv/invalid 965s # Start of invalid tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short/.dirs/runtime 965s ok 16 /gresolver/srv/invalid/too-short 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/srv/invalid/too-short2/.dirs/runtime 965s ok 17 /gresolver/srv/invalid/too-short2 965s # End of invalid tests 965s # End of srv tests 965s # Start of txt tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/.dirs/runtime 965s ok 18 /gresolver/txt/valid 965s # Start of valid tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/valid/multiple-strings/.dirs/runtime 965s ok 19 /gresolver/txt/valid/multiple-strings 965s # End of valid tests 965s # Start of invalid tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/empty/.dirs/runtime 965s ok 20 /gresolver/txt/invalid/empty 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XNGI02/gresolver/txt/invalid/overflow/.dirs/runtime 965s ok 21 /gresolver/txt/invalid/overflow 965s # End of invalid tests 965s # End of txt tests 965s # End of gresolver tests 965s ok - glib/resolver-parsing.test 965s # Running test: glib/protocol.test 965s TAP version 14 965s # random seed: R02S9f00bb2668edeb342e7774d84a970c6a 965s 1..9 965s # Start of glib tests 965s # Start of testing tests 965s # Start of protocol tests 965s ok 1 /glib/testing/protocol/debug 965s ok 2 /glib/testing/protocol/info 965s ok 3 /glib/testing/protocol/message 965s ok 4 /glib/testing/protocol/warning 965s ok 5 /glib/testing/protocol/critical 965s ok 6 /glib/testing/protocol/error 965s ok 7 /glib/testing/protocol/gtest-message 965s ok 8 /glib/testing/protocol/test-message 965s ok 9 /glib/testing/protocol/test-error 965s # End of protocol tests 965s # End of testing tests 965s # End of glib tests 965s ok - glib/protocol.test 965s # Running test: glib/function-info.test 965s TAP version 14 965s # random seed: R02Sc407cb8558e33f49e406376ee2b16b55 965s 1..1 965s # Start of function-info tests 965s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/home 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/cache 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/system-config2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/config 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/system-data2 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/data 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/state 965s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_4UJJ02/function-info/invoker/.dirs/runtime 965s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 965s # /function-info/invoker summary: Test preparing a function invoker 965s ok 1 /function-info/invoker 965s # End of function-info tests 965s ok - glib/function-info.test 965s # Running test: glib/cmph-bdz.test 965s TAP version 14 965s # random seed: R02Sc36765a62c7a7c3b1b8f43e040fbf1be 965s 1..2 965s # Start of cmph-bdz tests 965s ok 1 /cmph-bdz/search 965s ok 2 /cmph-bdz/search-packed 965s # End of cmph-bdz tests 965s ok - glib/cmph-bdz.test 965s # Running test: glib/objects-refcount2.test 965s TAP version 14 965s # random seed: R02S865b5bdd34e1543ad4d7cceff81ccf94 965s 1..1 965s # Start of gobject tests 965s # Start of refcount tests 965s # init 0x9106583e740 965s # 965s # . 965s # . 965s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 966s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 967s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 968s # . 969s # . 969s # . 969s # . 969s # . 969s # Executing: glib/objects-refcount2.test 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 969s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 970s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 971s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 972s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 973s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # Executing: glib/objects-refcount2.test 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 974s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 975s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 976s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 977s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 979s # . 979s # . 979s # . 979s # . 979s # Executing: glib/objects-refcount2.test 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 981s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 982s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 983s # . 984s # . 984s # . 984s # . 984s # . 984s # Executing: glib/objects-refcount2.test 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 984s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 985s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 986s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 987s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 988s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # Executing: glib/objects-refcount2.test 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 989s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 990s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 991s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 992s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 993s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # Executing: glib/objects-refcount2.test 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 994s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 995s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 996s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 997s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 998s # . 999s # . 999s # . 999s # . 999s # Executing: glib/objects-refcount2.test 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 999s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1000s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1001s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1002s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1003s # . 1004s # . 1004s # . 1004s # dispose 0x9106583e740! 1004s # 1004s ok 1 /gobject/refcount/object-advanced 1004s # slow test /gobject/refcount/object-advanced executed in 38.20 secs 1004s # End of refcount tests 1004s # End of gobject tests 1004s ok - glib/objects-refcount2.test 1004s # Running test: glib/completion.test 1004s TAP version 14 1004s # random seed: R02S8157f3008b28d07011ec4813e166ed5d 1004s 1..1 1004s # Start of completion tests 1004s ok 1 /completion/test-completion 1004s # End of completion tests 1004s ok - glib/completion.test 1004s # Running test: glib/tls-database.test 1004s TAP version 14 1004s # random seed: R02Sb7f2139cf57c08caaca314a52d67076d 1004s 1..1 1004s # Start of tls-backend tests 1004s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1004s ok 1 /tls-backend/set-default-database 1004s # End of tls-backend tests 1004s ok - glib/tls-database.test 1004s # Running test: glib/642026.test 1004s TAP version 14 1004s # random seed: R02S5848a8bf7479d1be136b142d5ec6b348 1004s 1..1 1004s # Start of glib tests 1004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1004s # Executing: glib/642026.test 1004s ok 1 /glib/642026 1004s # End of glib tests 1004s ok - glib/642026.test 1004s # Running test: glib/io-channel.test 1004s TAP version 14 1004s # random seed: R02S62e8d29f0136fff6facd85a3ee88a5e4 1004s 1..2 1004s # Start of io-channel tests 1004s # Line one 1004s # 1004s # Line two 1004s # 1004s # Line three 1004s # 1004s # /* Hello */ 1004s # 1004s # \x1234\x567890\x6666 1004s # 1004s # read 62 bytes, wrote 62 bytes 1004s ok 1 /io-channel/read-write 1004s # Start of read-line tests 1004s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1004s ok 2 /io-channel/read-line/embedded-nuls 1004s # End of read-line tests 1004s # End of io-channel tests 1004s ok - glib/io-channel.test 1004s # Running test: glib/macros-c-11.test 1004s TAP version 14 1004s # random seed: R02Sf52064cd922691ce705e6a697d2666db 1004s 1..4 1004s # Start of C tests 1004s ok 1 /C/standard-11 1004s # End of C tests 1004s # Start of alignof tests 1004s ok 2 /alignof/fallback 1004s # End of alignof tests 1004s # Start of assert tests 1004s ok 3 /assert/static 1004s # End of assert tests 1004s # Start of struct tests 1004s ok 4 /struct/sizeof_member 1004s # End of struct tests 1004s ok - glib/macros-c-11.test 1004s # Running test: glib/base64.test 1004s TAP version 14 1004s # random seed: R02Saeb61d6f16844f99b37085b333d2d3fa 1004s 1..28 1004s # Start of base64 tests 1004s ok 1 /base64/encode 1004s ok 2 /base64/decode 1004s ok 3 /base64/decode-inplace 1004s ok 4 /base64/encode-decode 1004s # Start of full tests 1004s ok 5 /base64/full/1 1004s ok 6 /base64/full/2 1004s ok 7 /base64/full/3 1004s ok 8 /base64/full/4 1004s # End of full tests 1004s # Start of encode tests 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1004s ok 9 /base64/encode/empty 1004s # Start of incremental tests 1004s # Start of small-block tests 1004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1004s ok 10 /base64/encode/incremental/small-block/1 1004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1004s ok 11 /base64/encode/incremental/small-block/2 1004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1004s ok 12 /base64/encode/incremental/small-block/3 1004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1004s ok 13 /base64/encode/incremental/small-block/4 1004s # End of small-block tests 1004s # End of incremental tests 1004s # End of encode tests 1004s # Start of incremental tests 1004s # Start of nobreak tests 1004s ok 14 /base64/incremental/nobreak/1 1004s ok 15 /base64/incremental/nobreak/2 1004s ok 16 /base64/incremental/nobreak/3 1004s ok 17 /base64/incremental/nobreak/4-a 1004s ok 18 /base64/incremental/nobreak/4-b 1004s ok 19 /base64/incremental/nobreak/4-c 1004s # End of nobreak tests 1004s # Start of break tests 1004s ok 20 /base64/incremental/break/1 1004s ok 21 /base64/incremental/break/2 1004s ok 22 /base64/incremental/break/3 1004s # End of break tests 1004s # Start of smallblock tests 1004s ok 23 /base64/incremental/smallblock/1 1004s ok 24 /base64/incremental/smallblock/2 1004s ok 25 /base64/incremental/smallblock/3 1004s ok 26 /base64/incremental/smallblock/4 1004s # End of smallblock tests 1004s # End of incremental tests 1004s # Start of decode tests 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1004s ok 27 /base64/decode/empty 1004s # End of decode tests 1004s # Start of encode-decode tests 1004s # Vector 0: 1004s # Vector 1: f 1004s # Vector 2: fo 1004s # Vector 3: foo 1004s # Vector 4: foob 1004s # Vector 5: fooba 1004s # Vector 6: foobar 1004s ok 28 /base64/encode-decode/rfc4648 1004s # End of encode-decode tests 1004s # End of base64 tests 1004s ok - glib/base64.test 1004s # Running test: glib/network-monitor-race.test 1004s TAP version 14 1004s # random seed: R02S94c7556c138515a66201f91b160a5e34 1004s 1..1 1004s # Start of network-monitor tests 1004s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1006s ok 1 /network-monitor/create-in-thread 1006s # slow test /network-monitor/create-in-thread executed in 2.19 secs 1006s # End of network-monitor tests 1006s ok - glib/network-monitor-race.test 1006s # Running test: glib/hmac.test 1006s TAP version 14 1006s # random seed: R02S0156321bcd69d6d79e2ca0b529f16693 1006s 1..37 1006s # Start of hmac tests 1006s ok 1 /hmac/sha1-1 1006s ok 2 /hmac/sha1-2 1006s ok 3 /hmac/sha1-3 1006s ok 4 /hmac/sha1-4 1006s ok 5 /hmac/sha1-5 1006s ok 6 /hmac/sha1-6 1006s ok 7 /hmac/sha1-7 1006s ok 8 /hmac/sha256-1 1006s ok 9 /hmac/sha256-2 1006s ok 10 /hmac/sha256-3 1006s ok 11 /hmac/sha256-4 1006s ok 12 /hmac/sha256-5 1006s ok 13 /hmac/sha256-6 1006s ok 14 /hmac/sha384-1 1006s ok 15 /hmac/sha384-2 1006s ok 16 /hmac/sha384-3 1006s ok 17 /hmac/sha384-4 1006s ok 18 /hmac/sha384-5 1006s ok 19 /hmac/sha384-6 1006s ok 20 /hmac/sha512-1 1006s ok 21 /hmac/sha512-2 1006s ok 22 /hmac/sha512-3 1006s ok 23 /hmac/sha512-4 1006s ok 24 /hmac/sha512-5 1006s ok 25 /hmac/sha512-6 1006s ok 26 /hmac/md5-1 1006s ok 27 /hmac/md5-2 1006s ok 28 /hmac/md5-3 1006s ok 29 /hmac/md5-4 1006s ok 30 /hmac/md5-5 1006s ok 31 /hmac/md5-6 1006s ok 32 /hmac/md5-7 1006s ok 33 /hmac/ref-unref 1006s ok 34 /hmac/copy 1006s ok 35 /hmac/for-data 1006s ok 36 /hmac/for-string 1006s ok 37 /hmac/for-bytes 1006s # End of hmac tests 1006s ok - glib/hmac.test 1006s # Running test: glib/g-file-info.test 1006s TAP version 14 1006s # random seed: R02S0a293708a3948856c94fa5fb45f5efe8 1006s 1..6 1006s # Start of g-file-info tests 1006s ok 1 /g-file-info/test_g_file_info 1006s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1006s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1006s ok 2 /g-file-info/xattrs 1006s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1006s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1006s ok 3 /g-file-info/set-modified-date-time-precision 1006s # Start of test_g_file_info tests 1006s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1006s ok 4 /g-file-info/test_g_file_info/modification-time 1006s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1006s ok 5 /g-file-info/test_g_file_info/access-time 1006s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1006s ok 6 /g-file-info/test_g_file_info/creation-time 1006s # End of test_g_file_info tests 1006s # End of g-file-info tests 1006s ok - glib/g-file-info.test 1006s # Running test: glib/actions.test 1006s TAP version 14 1006s # random seed: R02S605191806c580f342d5abb0f6a9dcf92 1006s 1..13 1006s # Start of actions tests 1006s ok 1 /actions/basic 1006s ok 2 /actions/name 1006s ok 3 /actions/simplegroup 1006s ok 4 /actions/stateful 1006s ok 5 /actions/default-activate 1006s ok 6 /actions/entries 1006s ok 7 /actions/parse-detailed 1006s ok 8 /actions/property 1006s ok 9 /actions/no-properties 1006s # Start of dbus tests 1006s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s ok 10 /actions/dbus/export 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1006s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1006s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 11 /actions/dbus/threaded 1008s # slow test /actions/dbus/threaded executed in 1.89 secs 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 12 /actions/dbus/bug679509 1008s # Start of export tests 1008s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1008s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok 13 /actions/dbus/export/error-handling 1008s # End of export tests 1008s # End of dbus tests 1008s # End of actions tests 1008s ok - glib/actions.test 1008s # Running test: glib/dynamictests.test 1008s TAP version 14 1008s # random seed: R02S137910a4e4b693567781955a831d20f5 1008s 1..2 1008s # Start of GObject tests 1008s ok 1 /GObject/threaded-dynamic-ref-unref-init 1008s ok 2 /GObject/dynamic-interface-properties 1008s # End of GObject tests 1008s ok - glib/dynamictests.test 1008s # Running test: glib/io-channel-basic.test 1008s TAP version 14 1008s # random seed: R02S502c255767ac1d0f21d187d0d6bb3fab 1008s 1..1 1008s # Start of gio tests 1008s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1008s # random seed: R02S7425dc305ea7f5edecee7fbd848157a9 1008s # GLib-DEBUG: io-channel-basic: child writing 8+1206 bytes to 6 1008s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1008s # GLib-DEBUG: io-channel-basic: ...from 5: 1206 bytes 1008s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1009s # Executing: glib/io-channel-basic.test 1009s # GLib-DEBUG: io-channel-basic: child writing 8+2227 bytes to 6 1009s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1009s # GLib-DEBUG: io-channel-basic: ...from 5: 2227 bytes 1009s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1009s # GLib-DEBUG: io-channel-basic: child writing 8+4078 bytes to 6 1009s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1009s # GLib-DEBUG: io-channel-basic: ...from 5: 4078 bytes 1009s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1009s # GLib-DEBUG: io-channel-basic: child writing 8+2493 bytes to 6 1009s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1009s # GLib-DEBUG: io-channel-basic: ...from 5: 2493 bytes 1009s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1009s # GLib-DEBUG: io-channel-basic: child writing 8+2924 bytes to 6 1009s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1009s # GLib-DEBUG: io-channel-basic: ...from 5: 2924 bytes 1009s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1010s # GLib-DEBUG: io-channel-basic: child writing 8+3225 bytes to 6 1010s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1010s # GLib-DEBUG: io-channel-basic: ...from 5: 3225 bytes 1010s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1010s # GLib-DEBUG: io-channel-basic: child writing 8+2954 bytes to 6 1010s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1010s # GLib-DEBUG: io-channel-basic: ...from 5: 2954 bytes 1010s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1010s # GLib-DEBUG: io-channel-basic: child writing 8+3918 bytes to 6 1010s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1010s # GLib-DEBUG: io-channel-basic: ...from 5: 3918 bytes 1010s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1011s # GLib-DEBUG: io-channel-basic: child writing 8+3147 bytes to 6 1011s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1011s # GLib-DEBUG: io-channel-basic: ...from 5: 3147 bytes 1011s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1011s # GLib-DEBUG: io-channel-basic: child writing 8+1715 bytes to 6 1011s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1011s # GLib-DEBUG: io-channel-basic: ...from 5: 1715 bytes 1011s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1011s # GLib-DEBUG: io-channel-basic: child writing 8+3305 bytes to 6 1011s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1011s # GLib-DEBUG: io-channel-basic: ...from 5: 3305 bytes 1011s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1011s # GLib-DEBUG: io-channel-basic: child writing 8+3688 bytes to 6 1011s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1011s # GLib-DEBUG: io-channel-basic: ...from 5: 3688 bytes 1011s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1012s # GLib-DEBUG: io-channel-basic: child writing 8+3085 bytes to 6 1012s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1012s # GLib-DEBUG: io-channel-basic: ...from 5: 3085 bytes 1012s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1012s # GLib-DEBUG: io-channel-basic: child writing 8+3542 bytes to 6 1012s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1012s # GLib-DEBUG: io-channel-basic: ...from 5: 3542 bytes 1012s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1012s # GLib-DEBUG: io-channel-basic: child writing 8+3336 bytes to 6 1012s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1012s # GLib-DEBUG: io-channel-basic: ...from 5: 3336 bytes 1012s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1012s # GLib-DEBUG: io-channel-basic: child writing 8+561 bytes to 6 1012s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1012s # GLib-DEBUG: io-channel-basic: ...from 5: 561 bytes 1012s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1013s # GLib-DEBUG: io-channel-basic: child writing 8+1510 bytes to 6 1013s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1013s # GLib-DEBUG: io-channel-basic: ...from 5: 1510 bytes 1013s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1013s # GLib-DEBUG: io-channel-basic: child writing 8+2696 bytes to 6 1013s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1013s # GLib-DEBUG: io-channel-basic: ...from 5: 2696 bytes 1013s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1013s # GLib-DEBUG: io-channel-basic: child writing 8+4870 bytes to 6 1013s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1013s # GLib-DEBUG: io-channel-basic: ...from 5: 4870 bytes 1013s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1013s # GLib-DEBUG: io-channel-basic: child writing 8+3081 bytes to 6 1013s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1013s # GLib-DEBUG: io-channel-basic: ...from 5: 3081 bytes 1013s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1014s # Executing: glib/io-channel-basic.test 1014s # GLib-DEBUG: io-channel-basic: child writing 8+1120 bytes to 6 1014s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 5: 1120 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+1010 bytes to 6 1014s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1014s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1014s # GLib-DEBUG: io-channel-basic: ...from 5: 1010 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1014s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1014s # random seed: R02Sb5d1288f34622bce2a55214e7aba795a 1014s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1014s # random seed: R02S6f0bcac87badb30628cd80ec10ac5372 1014s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1014s # random seed: R02S656f7ed22e38516be713b9e0335e987d 1014s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1014s # random seed: R02S9e54de31cb4a8fc21596ba20df1f1306 1014s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1014s # random seed: R02S2c5205877e3f796034743bc58a25afa6 1014s # GLib-DEBUG: io-channel-basic: child writing 8+1187 bytes to 11 1014s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 10: 1187 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+276 bytes to 13 1014s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 12: 276 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+4557 bytes to 9 1014s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 8: 4557 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+3374 bytes to 17 1014s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 16: 3374 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+1619 bytes to 15 1014s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 14: 1619 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+944 bytes to 11 1014s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 10: 944 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+1009 bytes to 9 1014s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 8: 1009 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+3915 bytes to 13 1014s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 12: 3915 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+2250 bytes to 17 1014s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 16: 2250 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1014s # GLib-DEBUG: io-channel-basic: child writing 8+1866 bytes to 15 1014s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1014s # GLib-DEBUG: io-channel-basic: ...from 14: 1866 bytes 1014s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+378 bytes to 11 1015s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 10: 378 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+4787 bytes to 13 1015s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 12: 4787 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+3924 bytes to 9 1015s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 8: 3924 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+2182 bytes to 15 1015s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 14: 2182 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+2759 bytes to 17 1015s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 16: 2759 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+1732 bytes to 11 1015s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 10: 1732 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+711 bytes to 9 1015s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 8: 711 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+3777 bytes to 13 1015s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 12: 3777 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+4783 bytes to 17 1015s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 16: 4783 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+4435 bytes to 15 1015s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 14: 4435 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+4841 bytes to 11 1015s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 10: 4841 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+434 bytes to 13 1015s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 12: 434 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+1871 bytes to 15 1015s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 14: 1871 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+2537 bytes to 17 1015s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 16: 2537 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+2871 bytes to 9 1015s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 8: 2871 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+3810 bytes to 11 1015s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 10: 3810 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+2295 bytes to 13 1015s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 12: 2295 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+3640 bytes to 17 1015s # GLib-DEBUG: io-channel-basic: child writing 8+3515 bytes to 9 1015s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 8: 3515 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1015s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 16: 3640 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1015s # GLib-DEBUG: io-channel-basic: child writing 8+1635 bytes to 15 1015s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1015s # GLib-DEBUG: io-channel-basic: ...from 14: 1635 bytes 1015s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+1533 bytes to 11 1016s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 10: 1533 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+1652 bytes to 15 1016s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 14: 1652 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+347 bytes to 13 1016s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 12: 347 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+2371 bytes to 17 1016s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 16: 2371 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+4436 bytes to 9 1016s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 8: 4436 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+2031 bytes to 11 1016s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 10: 2031 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+391 bytes to 17 1016s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 16: 391 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+3135 bytes to 15 1016s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 14: 3135 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+3413 bytes to 13 1016s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 12: 3413 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+778 bytes to 9 1016s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 8: 778 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+4526 bytes to 11 1016s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 10: 4526 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+356 bytes to 17 1016s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 16: 356 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+3744 bytes to 13 1016s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 12: 3744 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+1613 bytes to 9 1016s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 8: 1613 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1016s # GLib-DEBUG: io-channel-basic: child writing 8+3098 bytes to 15 1016s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1016s # GLib-DEBUG: io-channel-basic: ...from 14: 3098 bytes 1016s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2758 bytes to 17 1017s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 16: 2758 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+444 bytes to 13 1017s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 12: 444 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1606 bytes to 11 1017s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 10: 1606 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1808 bytes to 9 1017s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 8: 1808 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+141 bytes to 15 1017s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 14: 141 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2920 bytes to 11 1017s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 10: 2920 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2073 bytes to 17 1017s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 16: 2073 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+3056 bytes to 13 1017s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 12: 3056 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1514 bytes to 9 1017s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 8: 1514 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+850 bytes to 15 1017s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 14: 850 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2849 bytes to 17 1017s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 16: 2849 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1128 bytes to 15 1017s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 14: 1128 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1720 bytes to 11 1017s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 10: 1720 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+3234 bytes to 13 1017s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 12: 3234 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+4904 bytes to 9 1017s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 8: 4904 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+3180 bytes to 17 1017s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 16: 3180 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+4595 bytes to 11 1017s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 10: 4595 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+4088 bytes to 13 1017s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 12: 4088 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+1282 bytes to 9 1017s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 8: 1282 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1017s # GLib-DEBUG: io-channel-basic: child writing 8+2961 bytes to 15 1017s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1017s # GLib-DEBUG: io-channel-basic: ...from 14: 2961 bytes 1017s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+833 bytes to 11 1018s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 10: 833 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+3038 bytes to 13 1018s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 12: 3038 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+250 bytes to 17 1018s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 16: 250 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+3827 bytes to 15 1018s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 14: 3827 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+588 bytes to 9 1018s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 8: 588 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+738 bytes to 11 1018s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 10: 738 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+459 bytes to 13 1018s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 12: 459 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+1971 bytes to 15 1018s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 14: 1971 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+2468 bytes to 17 1018s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 16: 2468 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+1057 bytes to 9 1018s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 8: 1057 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+429 bytes to 11 1018s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 10: 429 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+1200 bytes to 13 1018s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 12: 1200 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+1744 bytes to 15 1018s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 14: 1744 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+2650 bytes to 17 1018s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 16: 2650 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+2559 bytes to 9 1018s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 8: 2559 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+3393 bytes to 11 1018s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 10: 3393 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+2081 bytes to 13 1018s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 12: 2081 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+2335 bytes to 15 1018s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 14: 2335 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+1608 bytes to 17 1018s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 16: 1608 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1018s # GLib-DEBUG: io-channel-basic: child writing 8+376 bytes to 9 1018s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1018s # GLib-DEBUG: io-channel-basic: ...from 8: 376 bytes 1018s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4002 bytes to 11 1019s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 10: 4002 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+1793 bytes to 17 1019s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 16: 1793 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+256 bytes to 15 1019s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 14: 256 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+3061 bytes to 13 1019s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 12: 3061 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+2046 bytes to 9 1019s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 8: 2046 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1019s # Executing: glib/io-channel-basic.test 1019s # GLib-DEBUG: io-channel-basic: child writing 8+160 bytes to 11 1019s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 10: 160 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+2144 bytes to 17 1019s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 16: 2144 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4716 bytes to 15 1019s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 14: 4716 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4616 bytes to 13 1019s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 12: 4616 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4579 bytes to 9 1019s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 8: 4579 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+3869 bytes to 11 1019s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1019s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1019s # GLib-DEBUG: io-channel-basic: ...from 10: 3869 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4274 bytes to 15 1019s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 14: 4274 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+1820 bytes to 17 1019s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 16: 1820 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+1628 bytes to 13 1019s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 12: 1628 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+3993 bytes to 9 1019s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 8: 3993 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+1435 bytes to 15 1019s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1019s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1019s # GLib-DEBUG: io-channel-basic: ...from 14: 1435 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4130 bytes to 17 1019s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 16: 4130 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+3934 bytes to 13 1019s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1019s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1019s # GLib-DEBUG: io-channel-basic: ...from 12: 3934 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1019s # GLib-DEBUG: io-channel-basic: child writing 8+4925 bytes to 9 1019s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 8: 4925 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+514 bytes to 17 1020s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 16: 514 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+1612 bytes to 9 1020s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 8: 1612 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+4777 bytes to 17 1020s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 16: 4777 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+3869 bytes to 9 1020s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1020s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1020s # GLib-DEBUG: io-channel-basic: ...from 8: 3869 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1020s # GLib-DEBUG: io-channel-basic: child writing 8+1006 bytes to 17 1020s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1020s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1020s # GLib-DEBUG: io-channel-basic: ...from 16: 1006 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1020s ok 1 /gio/io-basics 1020s # slow test /gio/io-basics executed in 12.01 secs 1020s # End of gio tests 1020s ok - glib/io-channel-basic.test 1020s # Running test: glib/buffered-input-stream.test 1020s TAP version 14 1020s # random seed: R02Sd998a71091dd8243d75e197b0989f8c5 1020s 1..10 1020s # Start of buffered-input-stream tests 1020s ok 1 /buffered-input-stream/peek 1020s ok 2 /buffered-input-stream/peek-buffer 1020s ok 3 /buffered-input-stream/set-buffer-size 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1020s ok 4 /buffered-input-stream/read-byte 1020s ok 5 /buffered-input-stream/read 1020s ok 6 /buffered-input-stream/read-async 1020s ok 7 /buffered-input-stream/skip 1020s ok 8 /buffered-input-stream/skip-async 1020s ok 9 /buffered-input-stream/seek 1020s # End of buffered-input-stream tests 1020s # Start of filter-input-stream tests 1020s ok 10 /filter-input-stream/close 1020s # End of filter-input-stream tests 1020s ok - glib/buffered-input-stream.test 1020s # Running test: glib/socket-service.test 1020s TAP version 14 1020s # random seed: R02S268cebdd9d5e4f19503f39961a4b0bba 1020s 1..4 1020s # Start of socket-service tests 1020s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1020s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa6aa3ddc370 and GSocketClientAsyncConnectData 0xa6aa3dd4620 1020s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1020s ok 1 /socket-service/start-stop 1020s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa6aa3ddded0 and GSocketClientAsyncConnectData 0xa6aa3dddc70 1020s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1020s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1020s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa6aa3dde3e0 for GSocketClientAsyncConnectData 0xa6aa3dd4620 1020s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1020s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1020s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1020s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1020s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1020s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa6aa3ddf260 for GSocketClientAsyncConnectData 0xa6aa3dddc70 1020s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1020s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1020s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1020s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1020s ok 2 /socket-service/read_write_async 1020s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa6aa3de1fb0 and GSocketClientAsyncConnectData 0xa6aa3ddf9d0 1020s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1020s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1020s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa6aa3de0190 for GSocketClientAsyncConnectData 0xa6aa3ddf9d0 1020s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1020s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1020s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1020s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1020s ok 3 /socket-service/read_writev_async 1020s # Start of threaded tests 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1020s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa6aa3de3710 and GSocketClientAsyncConnectData 0xa6aa3ddfd50 1020s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1020s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1020s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa6aa3de3940 for GSocketClientAsyncConnectData 0xa6aa3ddfd50 1020s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1020s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1020s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1020s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1020s ok 4 /socket-service/threaded/712570 1020s # End of threaded tests 1020s # End of socket-service tests 1020s ok - glib/socket-service.test 1020s # Running test: glib/ifaceproperties.test 1020s TAP version 14 1020s # random seed: R02Se3f4816faca196929910ec99d658d37d 1020s 1..7 1020s # Start of interface tests 1020s # Start of properties tests 1020s ok 1 /interface/properties/set 1020s ok 2 /interface/properties/notify 1020s ok 3 /interface/properties/find-overridden 1020s ok 4 /interface/properties/list-overridden 1020s ok 5 /interface/properties/find-interface 1020s ok 6 /interface/properties/list-interface 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1020s ok 7 /interface/properties/not-overridden 1020s # End of properties tests 1020s # End of interface tests 1020s ok - glib/ifaceproperties.test 1020s # Running test: glib/memory-output-stream.test 1020s TAP version 14 1020s # random seed: R02Sd8a6c60c9e95e505e1abcaab317a67f9 1020s 1..10 1020s # Start of memory-output-stream tests 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1020s ok 1 /memory-output-stream/truncate 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1020s ok 2 /memory-output-stream/get-data-size 1020s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1020s ok 3 /memory-output-stream/properties 1020s ok 4 /memory-output-stream/write-bytes 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1020s ok 5 /memory-output-stream/write-null 1020s ok 6 /memory-output-stream/writev 1020s ok 7 /memory-output-stream/writev_nonblocking 1020s ok 8 /memory-output-stream/steal_as_bytes 1020s # Start of seek tests 1020s ok 9 /memory-output-stream/seek/fixed 1020s ok 10 /memory-output-stream/seek/resizable 1020s # End of seek tests 1020s # End of memory-output-stream tests 1020s ok - glib/memory-output-stream.test 1020s # Running test: glib/autoptr-gio.test 1020s TAP version 14 1020s # random seed: R02S1b4f0d50976bfa034abf55f89a3fe692 1020s 1..1 1020s # Start of autoptr tests 1020s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1020s ok 1 /autoptr/autoptr 1020s # End of autoptr tests 1020s ok - glib/autoptr-gio.test 1020s # Running test: glib/sequence.test 1020s TAP version 14 1020s # random seed: R02S8f084ff8624cce98b51ef6295fd09f87 1020s 1..16 1020s # Start of sequence tests 1020s ok 1 /sequence/out-of-range-jump 1020s ok 2 /sequence/iter-move 1020s ok 3 /sequence/insert-sorted-non-pointer 1020s ok 4 /sequence/stable-sort 1020s ok 5 /sequence/is_empty 1020s # Start of random tests 1021s ok 6 /sequence/random/seed:825541564 1021s # slow test /sequence/random/seed:825541564 executed in 0.77 secs 1022s ok 7 /sequence/random/seed:801678400 1022s # slow test /sequence/random/seed:801678400 executed in 0.73 secs 1023s ok 8 /sequence/random/seed:1477639090 1023s # slow test /sequence/random/seed:1477639090 executed in 0.76 secs 1023s ok 9 /sequence/random/seed:3369132895 1023s # slow test /sequence/random/seed:3369132895 executed in 0.70 secs 1024s # Executing: glib/sequence.test 1024s ok 10 /sequence/random/seed:1192944867 1024s # slow test /sequence/random/seed:1192944867 executed in 0.74 secs 1025s ok 11 /sequence/random/seed:770458294 1025s # slow test /sequence/random/seed:770458294 executed in 0.78 secs 1026s ok 12 /sequence/random/seed:1099575817 1026s # slow test /sequence/random/seed:1099575817 executed in 0.74 secs 1026s ok 13 /sequence/random/seed:590523467 1026s # slow test /sequence/random/seed:590523467 executed in 0.76 secs 1027s ok 14 /sequence/random/seed:3583571454 1027s # slow test /sequence/random/seed:3583571454 executed in 0.78 secs 1028s ok 15 /sequence/random/seed:579241222 1028s # slow test /sequence/random/seed:579241222 executed in 0.80 secs 1029s # Executing: glib/sequence.test 1029s ok 16 /sequence/random/seed:1232777772 1029s # slow test /sequence/random/seed:1232777772 executed in 0.82 secs 1029s # End of random tests 1029s # End of sequence tests 1029s ok - glib/sequence.test 1029s # Running test: glib/gdbus-exit-on-close.test 1029s TAP version 14 1029s # random seed: R02S8a9816e658ddf29a0b5d2c87c393a160 1029s 1..4 1029s # Start of gdbus tests 1029s # Start of exit-on-close tests 1029s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/home 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/cache 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/system-config2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/config 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/system-data2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/data 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/state 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/default/.dirs/runtime 1029s ok 1 /gdbus/exit-on-close/default 1029s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/home 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/cache 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/system-config2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/config 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/system-data2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/data 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/state 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/true/.dirs/runtime 1029s ok 2 /gdbus/exit-on-close/true 1029s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/home 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/cache 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/system-config2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/config 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/system-data2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/data 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/state 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/false/.dirs/runtime 1029s ok 3 /gdbus/exit-on-close/false 1029s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/home 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/cache 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/system-config2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/config 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/system-data2 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/data 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/state 1029s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_5IEC02/gdbus/exit-on-close/we-close/.dirs/runtime 1029s ok 4 /gdbus/exit-on-close/we-close 1029s # Start of default tests 1029s # End of default tests 1029s # Start of true tests 1029s # End of true tests 1029s # Start of false tests 1029s # End of false tests 1029s # Start of we-close tests 1029s # End of we-close tests 1029s # End of exit-on-close tests 1029s # End of gdbus tests 1029s ok - glib/gdbus-exit-on-close.test 1029s # Running test: glib/memchunk.test 1029s TAP version 14 1029s # random seed: R02Sd4fac5e9838a4fe1bbf95c90ded80192 1029s 1..1 1029s # Start of memchunk tests 1029s ok 1 /memchunk/basic 1029s # End of memchunk tests 1029s ok - glib/memchunk.test 1029s # Running test: glib/testfilemonitor.test 1029s TAP version 14 1029s # random seed: R02S1e406f0422563da9957e51d464633a96 1029s 1..8 1029s # Start of monitor tests 1029s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1029s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1029s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1029s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s # Start of file tests 1029s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1029s # End of file tests 1029s # End of monitor tests 1029s ok - glib/testfilemonitor.test 1029s # Running test: glib/gthash.test 1029s TAP version 14 1029s # random seed: R02S2d09adb83a1c364494f57331cebc85f3 1029s 1..1 1029s # Start of gthash tests 1029s ok 1 /gthash/build-retrieve 1029s # End of gthash tests 1029s ok - glib/gthash.test 1029s # Running test: glib/boxed.test 1029s TAP version 14 1029s # random seed: R02S4fd9736b6ce5adc2ecc50263d24e85b8 1029s 1..27 1029s # Start of boxed tests 1029s ok 1 /boxed/define 1029s ok 2 /boxed/ownership 1029s ok 3 /boxed/closure 1029s ok 4 /boxed/date 1029s ok 5 /boxed/value 1029s ok 6 /boxed/string 1029s ok 7 /boxed/hashtable 1029s ok 8 /boxed/array 1029s ok 9 /boxed/ptrarray 1029s ok 10 /boxed/regex 1029s ok 11 /boxed/varianttype 1029s ok 12 /boxed/error 1029s ok 13 /boxed/datetime 1029s ok 14 /boxed/matchinfo 1029s ok 15 /boxed/keyfile 1029s ok 16 /boxed/mainloop 1029s ok 17 /boxed/maincontext 1029s ok 18 /boxed/source 1029s ok 19 /boxed/variantbuilder 1029s ok 20 /boxed/timezone 1029s ok 21 /boxed/pollfd 1029s ok 22 /boxed/markup 1029s ok 23 /boxed/thread 1029s ok 24 /boxed/checksum 1029s ok 25 /boxed/tree 1029s ok 26 /boxed/patternspec 1029s ok 27 /boxed/rand 1029s # End of boxed tests 1029s ok - glib/boxed.test 1029s # Running test: glib/signals-refcount2.test 1029s TAP version 14 1029s # random seed: R02Sae9722d717987a969c120d4b9e092583 1029s 1..1 1029s # Start of gobject tests 1029s # Start of refcount tests 1029s # init 0x19a2e6b9f420 1029s # 1029s # init 0x19a2e6b9f5c0 1029s # 1034s # Executing: glib/signals-refcount2.test 1034s # dispose 0x19a2e6b9f420! 1034s # 1034s # dispose 0x19a2e6b9f5c0! 1034s # 1034s ok 1 /gobject/refcount/signals 1034s # slow test /gobject/refcount/signals executed in 5.00 secs 1034s # End of refcount tests 1034s # End of gobject tests 1034s ok - glib/signals-refcount2.test 1034s # Running test: glib/g-file-info-filesystem-readonly.test 1034s TAP version 14 1034s # random seed: R02S2dc2b851ebecd7248f1f3f61fd7c1fe2 1034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1034s 1..2 1034s # Start of g-file-info-filesystem-readonly tests 1034s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1034s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1034s # End of g-file-info-filesystem-readonly tests 1034s ok - glib/g-file-info-filesystem-readonly.test 1034s # Running test: glib/spawn-singlethread.test 1034s TAP version 14 1034s # random seed: R02S1eb856edc2950bcf3d7203e6a2e2fcb5 1034s 1..9 1034s # Start of gthread tests 1034s ok 1 /gthread/spawn-single-sync 1034s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1034s ok 2 /gthread/spawn-stderr-socket 1034s ok 3 /gthread/spawn-single-async 1034s # thread 1 1034s # thread 1 1034s ok 4 /gthread/spawn-single-async-with-fds 1034s ok 5 /gthread/spawn-async-with-invalid-fds 1034s ok 6 /gthread/spawn-script 1034s ok 7 /gthread/spawn-posix-spawn 1034s # Start of spawn tests 1034s ok 8 /gthread/spawn/nonexistent 1034s # FD map: 1034s # • 5 → 15 1034s # • 6 → 16 1034s # • 7 → 17 1034s # • 8 → 18 1034s # • 9 → 19 1034s # • 10 → 20 1034s # • 11 → 21 1034s # • 12 → 22 1034s # • 13 → 23 1034s # • 3 → 13 1034s ok 9 /gthread/spawn/fd-assignment-clash 1034s # End of spawn tests 1034s # End of gthread tests 1034s ok - glib/spawn-singlethread.test 1034s # Running test: glib/signals-refcount3.test 1034s TAP version 14 1034s # random seed: R02Scde189bdea30be4dd2ca9fe897d66d10 1034s 1..1 1034s # Start of gobject tests 1034s # Start of refcount tests 1034s # init 0x1607f7eff420 1034s # 1034s # init 0x1607f7eff5c0 1034s # 1039s # Executing: glib/signals-refcount3.test 1039s # dispose 0x1607f7eff420! 1039s # 1039s # dispose 0x1607f7eff5c0! 1039s # 1039s ok 1 /gobject/refcount/signals 1039s # slow test /gobject/refcount/signals executed in 5.00 secs 1039s # End of refcount tests 1039s # End of gobject tests 1039s ok - glib/signals-refcount3.test 1039s # Running test: glib/cxx-17.test 1039s TAP version 14 1039s # random seed: R02Scacc21ed7a8221d585f344c197d3a322 1039s 1..2 1039s # Start of gtask tests 1039s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1039s ok 1 /gtask/name 1039s # Start of name tests 1039s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1039s ok 2 /gtask/name/macro-wrapper 1039s # End of name tests 1039s # End of gtask tests 1039s ok - glib/cxx-17.test 1039s # Running test: glib/async-splice-output-stream.test 1039s TAP version 14 1039s # random seed: R02S78e690622517ee87df40a728490ed41d 1039s 1..5 1039s # Start of async-splice tests 1039s ok 1 /async-splice/copy-chunks 1039s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1039s ok 2 /async-splice/copy-chunks-threaded-input 1039s ok 3 /async-splice/copy-chunks-threaded-output 1039s ok 4 /async-splice/copy-chunks-threaded 1039s ok 5 /async-splice/cancelled 1039s # End of async-splice tests 1039s ok - glib/async-splice-output-stream.test 1039s # Running test: glib/network-address.test 1039s TAP version 14 1039s # random seed: R02Sb6f2aeeafa3a43fa748e019cd8098ee7 1039s 1..72 1039s # Start of network-address tests 1039s ok 1 /network-address/basic 1039s ok 2 /network-address/scope-id 1039s ok 3 /network-address/uri-scope-id 1039s ok 4 /network-address/to-string 1039s # Start of parse-host tests 1039s ok 5 /network-address/parse-host/0 1039s ok 6 /network-address/parse-host/1 1039s ok 7 /network-address/parse-host/2 1039s ok 8 /network-address/parse-host/3 1039s ok 9 /network-address/parse-host/4 1039s ok 10 /network-address/parse-host/5 1039s ok 11 /network-address/parse-host/6 1039s ok 12 /network-address/parse-host/7 1039s ok 13 /network-address/parse-host/8 1039s ok 14 /network-address/parse-host/9 1039s ok 15 /network-address/parse-host/10 1039s ok 16 /network-address/parse-host/11 1039s ok 17 /network-address/parse-host/12 1039s ok 18 /network-address/parse-host/13 1039s # End of parse-host tests 1039s # Start of parse-uri tests 1039s ok 19 /network-address/parse-uri/0 1039s ok 20 /network-address/parse-uri/1 1039s ok 21 /network-address/parse-uri/2 1039s ok 22 /network-address/parse-uri/3 1039s ok 23 /network-address/parse-uri/4 1039s ok 24 /network-address/parse-uri/5 1039s ok 25 /network-address/parse-uri/6 1039s ok 26 /network-address/parse-uri/7 1039s ok 27 /network-address/parse-uri/8 1039s ok 28 /network-address/parse-uri/9 1039s # End of parse-uri tests 1039s # Start of resolve-address tests 1039s # Input: 192.168.1.2 1039s ok 29 /network-address/resolve-address/0 1039s # Input: fe80::42 1039s ok 30 /network-address/resolve-address/1 1039s # Input: 192.168.1.2:80 1039s ok 31 /network-address/resolve-address/2 1039s # Input: [fe80::42] 1039s ok 32 /network-address/resolve-address/3 1039s # Input: [fe80::42]:80 1039s ok 33 /network-address/resolve-address/4 1039s # Input: 192.168.258 1039s ok 34 /network-address/resolve-address/5 1039s # Input: 192.11010306 1039s ok 35 /network-address/resolve-address/6 1039s # Input: 3232235778 1039s ok 36 /network-address/resolve-address/7 1039s # Input: 0300.0250.0001.0001 1039s ok 37 /network-address/resolve-address/8 1039s # Input: 0xC0.0xA8.0x01.0x02 1039s ok 38 /network-address/resolve-address/9 1039s # Input: 0xc0.0xa8.0x01.0x02 1039s ok 39 /network-address/resolve-address/10 1039s # Input: 0xc0a80102 1039s ok 40 /network-address/resolve-address/11 1039s # End of resolve-address tests 1039s # Start of loopback tests 1039s ok 41 /network-address/loopback/basic 1039s ok 42 /network-address/loopback/sync 1039s ok 43 /network-address/loopback/async 1039s # End of loopback tests 1039s # Start of localhost tests 1039s ok 44 /network-address/localhost/async 1039s ok 45 /network-address/localhost/sync 1039s # End of localhost tests 1039s # Start of happy-eyeballs tests 1039s ok 46 /network-address/happy-eyeballs/basic 1039s ok 47 /network-address/happy-eyeballs/parallel 1040s ok 48 /network-address/happy-eyeballs/slow-ipv4 1040s ok 49 /network-address/happy-eyeballs/slow-ipv6 1040s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1040s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1040s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1040s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1040s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1040s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1040s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1040s # /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow summary: Ensure that we successfully return IPv4 results even when they come significantly later than an IPv6 failure. 1040s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1041s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1041s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1041s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1041s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1041s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1041s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1041s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1041s ok 57 /network-address/happy-eyeballs/both-error 1041s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1041s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1041s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1041s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1041s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1041s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1041s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1041s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1041s # End of happy-eyeballs tests 1041s # End of network-address tests 1041s # Start of gresolver tests 1041s # Start of resolve-address tests 1041s # Input: 192.168.1.2 1041s ok 61 /gresolver/resolve-address/0 1041s # Input: fe80::42 1041s ok 62 /gresolver/resolve-address/1 1041s # Input: 192.168.1.2:80 1041s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1041s ok 63 /gresolver/resolve-address/2 1041s # Input: [fe80::42] 1041s # Error: Error resolving ?[fe80::42]?: Name or service not known 1041s ok 64 /gresolver/resolve-address/3 1041s # Input: [fe80::42]:80 1041s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1041s ok 65 /gresolver/resolve-address/4 1041s # Input: 192.168.258 1041s # Error: Error resolving ?192.168.258?: Name or service not known 1041s ok 66 /gresolver/resolve-address/5 1041s # Input: 192.11010306 1041s # Error: Error resolving ?192.11010306?: Name or service not known 1041s ok 67 /gresolver/resolve-address/6 1041s # Input: 3232235778 1041s # Error: Error resolving ?3232235778?: Name or service not known 1041s ok 68 /gresolver/resolve-address/7 1041s # Input: 0300.0250.0001.0001 1041s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1041s ok 69 /gresolver/resolve-address/8 1041s # Input: 0xC0.0xA8.0x01.0x02 1041s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1041s ok 70 /gresolver/resolve-address/9 1041s # Input: 0xc0.0xa8.0x01.0x02 1041s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1041s ok 71 /gresolver/resolve-address/10 1041s # Input: 0xc0a80102 1041s # Error: Error resolving ?0xc0a80102?: Name or service not known 1041s ok 72 /gresolver/resolve-address/11 1041s # End of resolve-address tests 1041s # End of gresolver tests 1041s ok - glib/network-address.test 1041s # Running test: glib/spawn-multithreaded.test 1041s TAP version 14 1041s # random seed: R02S3355753f01cf34643a556352fecb18fe 1041s 1..4 1041s # Start of gthread tests 1042s # Child 5561 (ttl 1) exited, status 0 1043s # Child 5562 (ttl 2) exited, status 0 1043s ok 1 /gthread/spawn-childs 1043s # slow test /gthread/spawn-childs executed in 2.00 secs 1043s # Created pid: 5566 (ttl 1) 1043s # Created pid: 5567 (ttl 2) 1044s # Executing: glib/spawn-multithreaded.test 1044s # Child 5566 (ttl 1) exited, status 0 1045s # Child 5567 (ttl 2) exited, status 0 1045s ok 2 /gthread/spawn-childs-threads 1045s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1045s ok 3 /gthread/spawn-sync 1045s ok 4 /gthread/spawn-async 1045s # End of gthread tests 1045s ok - glib/spawn-multithreaded.test 1045s # Running test: glib/simple-async-result.test 1045s TAP version 14 1045s # random seed: R02S69d17bdd2ba24299042431933caf0adf 1045s 1..2 1045s # Start of gio tests 1045s # Start of simple-async-result tests 1045s ok 1 /gio/simple-async-result/test 1045s # GLib-GIO-DEBUG: GTask 0xed829360720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1045s ok 2 /gio/simple-async-result/valid 1045s # End of simple-async-result tests 1045s # End of gio tests 1045s ok - glib/simple-async-result.test 1045s # Running test: glib/dump.test 1045s TAP version 14 1045s # random seed: R02S4556ae0d0c4710d9716b4d3d827ae3aa 1045s 1..4 1045s # Start of dump tests 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_08LB02/dump/empty-file/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_08LB02/dump/empty-file/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_08LB02/dump/empty-file/.dirs/system-config1:/tmp/test_dump_08LB02/dump/empty-file/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_08LB02/dump/empty-file/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_08LB02/dump/empty-file/.dirs/system-data1:/tmp/test_dump_08LB02/dump/empty-file/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_08LB02/dump/empty-file/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_08LB02/dump/empty-file/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_08LB02/dump/empty-file/.dirs/runtime 1045s ok 1 /dump/empty-file 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_08LB02/dump/missing-get-type/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_08LB02/dump/missing-get-type/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_08LB02/dump/missing-get-type/.dirs/runtime 1045s Invalid GType function: 'does_not_exist_get_type' 1045s ok 2 /dump/missing-get-type 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_08LB02/dump/missing-quark/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_08LB02/dump/missing-quark/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_08LB02/dump/missing-quark/.dirs/runtime 1045s Invalid error quark function: 'does_not_exist_error' 1045s ok 3 /dump/missing-quark 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_08LB02/dump/basic/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_08LB02/dump/basic/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_08LB02/dump/basic/.dirs/system-config1:/tmp/test_dump_08LB02/dump/basic/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_08LB02/dump/basic/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_08LB02/dump/basic/.dirs/system-data1:/tmp/test_dump_08LB02/dump/basic/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_08LB02/dump/basic/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_08LB02/dump/basic/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_08LB02/dump/basic/.dirs/runtime 1045s ok 4 /dump/basic 1045s # End of dump tests 1045s ok - glib/dump.test 1045s # Running test: glib/gdbus-threading.test 1045s TAP version 14 1045s # random seed: R02Sb6819d8ad09b9b2ce6e1955f6e2f4178 1045s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1045s ok - glib/gdbus-threading.test 1045s # Running test: glib/properties-refcount1.test 1045s TAP version 14 1045s # random seed: R02S5dd90fad30bc6201e13cc95a66841dbc 1045s 1..1 1045s # Start of gobject tests 1045s # Start of refcount tests 1045s # .e 1045s # .f 1045s # .b 1045s # .d 1045s # .c 1045s # .b 1045s # .e 1045s # .f 1045s # .d 1045s # .c 1045s # .b 1045s # .f 1045s # .e 1045s # .d 1045s # .f 1045s # .c 1045s # .e 1045s # .b 1045s # .d 1045s # .c 1045s # .f 1045s # .e 1045s # .b 1046s # .d 1046s # .c 1046s # .f 1046s # .e 1046s # .b 1046s # .d 1046s # .f 1046s # .c 1046s # .e 1046s # .b 1046s # .d 1046s # .f 1046s # .c 1046s # .e 1046s # .b 1046s # .d 1046s # .f 1046s # .c 1046s # .e 1046s # .d 1046s # .f 1046s # .b 1046s # .c 1046s # .e 1046s # .d 1046s # .f 1046s # .b 1046s # .e 1046s # .c 1046s # .d 1046s # .f 1046s # .e 1046s # .b 1046s # .c 1047s # .d 1047s # .f 1047s # .e 1047s # .d 1047s # .c 1047s # .b 1047s # .f 1047s # .c 1047s # .b 1047s # .e 1047s # .d 1047s # .f 1047s # .c 1047s # .b 1047s # .d 1047s # .e 1047s # .f 1047s # .b 1047s # .c 1047s # .d 1047s # .e 1047s # .f 1047s # .d 1047s # .e 1047s # .c 1047s # .b 1047s # .f 1047s # .d 1047s # .e 1047s # .c 1047s # .f 1047s # .b 1047s # .e 1048s # .d 1048s # .c 1048s # .f 1048s # .b 1048s # .e 1048s # .d 1048s # .c 1048s # .f 1048s # .e 1048s ok 1 /gobject/refcount/properties-1 1048s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1048s # End of refcount tests 1048s # End of gobject tests 1048s ok - glib/properties-refcount1.test 1048s # Running test: glib/enums.test 1048s TAP version 14 1048s # random seed: R02S8826681cb250f5c52e09c6c2b68b513b 1048s 1..4 1048s # Start of enum tests 1048s ok 1 /enum/basic 1048s ok 2 /enum/define-type 1048s # End of enum tests 1048s # Start of flags tests 1048s ok 3 /flags/basic 1048s ok 4 /flags/define-type 1048s # End of flags tests 1048s ok - glib/enums.test 1048s # Running test: glib/utils.test 1048s TAP version 14 1048s # random seed: R02S09f5966f0e0da3ddec63ec00d23b74f1 1048s 1..40 1048s # Start of utils tests 1048s ok 1 /utils/language-names 1048s ok 2 /utils/locale-variants 1048s ok 3 /utils/version 1048s ok 4 /utils/appname 1048s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1048s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1048s ok 5 /utils/prgname-thread-safety 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1048s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1048s ok 6 /utils/tmpdir 1048s ok 7 /utils/basic_bits 1048s ok 8 /utils/bits 1048s ok 9 /utils/swap 1048s ok 10 /utils/find-program 1048s ok 11 /utils/find-program-for-path 1048s ok 12 /utils/debug 1048s ok 13 /utils/codeset 1048s ok 14 /utils/codeset2 1048s ok 15 /utils/console-charset 1048s ok 16 /utils/gettext 1048s ok 17 /utils/username 1048s ok 18 /utils/realname 1048s ok 19 /utils/hostname 1048s ok 20 /utils/xdgdirs 1048s ok 21 /utils/specialdir 1048s # NAME: Ubuntu 1048s ok 22 /utils/os-info 1048s ok 23 /utils/clear-pointer 1048s ok 24 /utils/clear-pointer-cast 1048s ok 25 /utils/take-pointer 1048s ok 26 /utils/clear-source 1048s ok 27 /utils/misc-mem 1048s # /utils/aligned-mem summary: Aligned memory allocator 1048s # Alignment must not be zero 1048s # Alignment must be a power of two 1048s # Alignment must be a multiple of sizeof(void*) 1048s ok 28 /utils/aligned-mem 1048s # /utils/free-sized summary: Check that g_free_sized() works 1048s ok 29 /utils/free-sized 1048s ok 30 /utils/nullify 1048s ok 31 /utils/atexit 1048s ok 32 /utils/check-setuid 1048s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1048s ok 33 /utils/int-limits 1048s ok 34 /utils/clear-list 1048s ok 35 /utils/clear-slist 1048s # Start of specialdir tests 1048s ok 36 /utils/specialdir/desktop 1048s # End of specialdir tests 1048s # Start of clear-pointer tests 1048s ok 37 /utils/clear-pointer/side-effects 1048s # End of clear-pointer tests 1048s # Start of aligned-mem tests 1048s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1048s ok 38 /utils/aligned-mem/alignment 1048s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1048s ok 39 /utils/aligned-mem/zeroed 1048s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1048s ok 40 /utils/aligned-mem/free-sized 1048s # Start of subprocess tests 1048s # End of subprocess tests 1048s # End of aligned-mem tests 1048s # End of utils tests 1048s ok - glib/utils.test 1048s # Running test: glib/references.test 1048s TAP version 14 1048s # random seed: R02Sa1ca1e233092d73f7aec011882e82e8f 1048s 1..1 1048s # Start of gobject tests 1048s ok 1 /gobject/references 1048s # End of gobject tests 1048s ok - glib/references.test 1048s # Running test: glib/filter-streams.test 1048s TAP version 14 1048s # random seed: R02S8ebdc52441705940929f4d2d0f9df9c2 1048s 1..4 1048s # Start of filter-stream tests 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1048s ok 1 /filter-stream/input 1048s ok 2 /filter-stream/output 1048s ok 3 /filter-stream/async-input 1048s ok 4 /filter-stream/async-output 1048s # End of filter-stream tests 1048s ok - glib/filter-streams.test 1048s # Running test: glib/autoptr-girepository.test 1048s TAP version 14 1048s # random seed: R02S215d9d92c46d35478aac625714c7d87f 1048s 1..24 1048s # Start of autoptr tests 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/repository/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 1 /autoptr/repository 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/typelib/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 2 /autoptr/typelib 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/base-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 3 /autoptr/base-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/arg-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 4 /autoptr/arg-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callable-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 5 /autoptr/callable-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/callback-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 6 /autoptr/callback-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/constant-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 7 /autoptr/constant-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/enum-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 8 /autoptr/enum-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/field-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 9 /autoptr/field-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/flags-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 10 /autoptr/flags-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/function-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 11 /autoptr/function-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/interface-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 12 /autoptr/interface-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/object-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 13 /autoptr/object-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/property-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 14 /autoptr/property-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/registered-type-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 15 /autoptr/registered-type-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/signal-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 16 /autoptr/signal-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/struct-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 17 /autoptr/struct-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/type-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 18 /autoptr/type-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/union-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 19 /autoptr/union-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/value-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 20 /autoptr/value-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/autoptr/vfunc-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 21 /autoptr/vfunc-info 1048s # End of autoptr tests 1048s # Start of auto tests 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/auto/arg-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 22 /auto/arg-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/auto/type-info/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 23 /auto/type-info 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_TQ87Z2/auto/function-invoker/.dirs/runtime 1048s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1048s ok 24 /auto/function-invoker 1048s # End of auto tests 1048s ok - glib/autoptr-girepository.test 1048s # Running test: glib/cxx-98.test 1048s TAP version 14 1048s # random seed: R02S5c18c8a24657e1d49d11b284f8b5722d 1048s 1..2 1048s # Start of gtask tests 1048s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1048s ok 1 /gtask/name 1048s # Start of name tests 1048s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1048s ok 2 /gtask/name/macro-wrapper 1048s # End of name tests 1048s # End of gtask tests 1048s ok - glib/cxx-98.test 1048s # Running test: glib/cxx-2b.test 1048s TAP version 14 1048s # random seed: R02Se4550f689ab84c839a0a731a73de5718 1048s 1..2 1048s # Start of gtask tests 1048s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1048s ok 1 /gtask/name 1048s # Start of name tests 1048s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1048s ok 2 /gtask/name/macro-wrapper 1048s # End of name tests 1048s # End of gtask tests 1048s ok - glib/cxx-2b.test 1048s # Running test: glib/macros-c-89.test 1048s TAP version 14 1048s # random seed: R02Sdf88afe524367c4e6c8f31e2276190f1 1048s 1..4 1048s # Start of C tests 1048s ok 1 /C/standard-89 1048s # End of C tests 1048s # Start of alignof tests 1048s ok 2 /alignof/fallback 1048s # End of alignof tests 1048s # Start of assert tests 1048s ok 3 /assert/static 1048s # End of assert tests 1048s # Start of struct tests 1048s ok 4 /struct/sizeof_member 1048s # End of struct tests 1048s ok - glib/macros-c-89.test 1048s # Running test: glib/gdbus-peer-object-manager.test 1048s TAP version 14 1048s # random seed: R02S8ac34471b16f36cb6d84b8133fddbacf 1048s 1..2 1048s # Start of gdbus tests 1048s # Start of peer-object-manager tests 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/normal/.dirs/runtime 1048s ok 1 /gdbus/peer-object-manager/normal 1048s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/home 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/cache 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/system-config2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/config 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/system-data2 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/data 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/state 1048s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_S6U8Z2/gdbus/peer-object-manager/root/.dirs/runtime 1048s ok 2 /gdbus/peer-object-manager/root 1048s # End of peer-object-manager tests 1048s # End of gdbus tests 1048s ok - glib/gdbus-peer-object-manager.test 1048s # Running test: glib/defaultvalue.test 1048s TAP version 14 1048s # random seed: R02S93f624d5bc87f63e39a30620b3dabfe8 1048s 1..84 1048s # Start of Default Values tests 1048s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1048s ok 2 /Default Values/GAppLaunchContext 1048s ok 3 /Default Values/GApplicationCommandLine 1048s # skipping GApplication:is-remote 1048s ok 4 /Default Values/GApplication 1048s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1048s ok 6 /Default Values/GBindingGroup 1048s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1048s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1048s ok 9 /Default Values/GBytesIcon 1048s ok 10 /Default Values/GCancellable 1048s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1048s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1048s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1048s ok 14 /Default Values/GCredentials 1048s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1048s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1048s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1048s ok 18 /Default Values/GDBusAuthObserver 1048s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1048s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1048s ok 21 /Default Values/GDBusMessage 1048s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1048s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1048s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1048s ok 25 /Default Values/GDBusObjectProxy 1048s ok 26 /Default Values/GDBusObjectSkeleton 1048s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1048s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1048s ok 29 /Default Values/GEmblem 1048s ok 30 /Default Values/GEmblemedIcon 1048s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1048s ok 32 /Default Values/GFileInfo 1048s ok 33 /Default Values/GFileInputStream 1048s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1048s ok 35 /Default Values/GFileOutputStream 1048s ok 36 /Default Values/GFilenameCompleter 1048s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1048s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1048s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1048s ok 40 /Default Values/GInitiallyUnowned 1048s ok 41 /Default Values/GIOModule 1048s ok 42 /Default Values/GListStore 1048s ok 43 /Default Values/GMemoryInputStream 1048s ok 44 /Default Values/GMemoryOutputStream 1048s ok 45 /Default Values/GMenu 1048s ok 46 /Default Values/GMenuItem 1048s ok 47 /Default Values/GMountOperation 1048s ok 48 /Default Values/GNativeSocketAddress 1048s ok 49 /Default Values/GNetworkAddress 1048s ok 50 /Default Values/GNetworkService 1048s ok 51 /Default Values/GNotification 1048s ok 52 /Default Values/GObject 1048s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1048s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1048s # skipping GProxyAddressEnumerator:proxy-resolver 1048s ok 54 /Default Values/GProxyAddressEnumerator 1048s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1048s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1048s ok 57 /Default Values/GSignalGroup 1048s ok 58 /Default Values/GSimpleAction 1048s ok 59 /Default Values/GSimpleActionGroup 1048s ok 60 /Default Values/GSimpleAsyncResult 1048s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1048s ok 62 /Default Values/GSimplePermission 1048s ok 63 /Default Values/GSimpleProxyResolver 1048s # skipping GSocketClient:proxy-resolver 1048s ok 64 /Default Values/GSocketClient 1048s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1048s ok 66 /Default Values/GSocket # SKIP initialization failed 1048s ok 67 /Default Values/GSocketListener 1048s ok 68 /Default Values/GSocketService 1048s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1048s ok 70 /Default Values/GSubprocessLauncher 1048s # GLib-GIO-DEBUG: GTask 0x18379c935fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1048s ok 71 /Default Values/GTask 1048s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1048s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1048s ok 74 /Default Values/GTestDBus 1048s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1048s ok 76 /Default Values/GThreadedSocketService 1048s ok 77 /Default Values/GTlsInteraction 1048s ok 78 /Default Values/GTlsPassword 1048s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1048s ok 80 /Default Values/GUnixFDList 1048s ok 81 /Default Values/GVfs 1048s ok 82 /Default Values/GVolumeMonitor 1048s ok 83 /Default Values/GZlibCompressor 1048s ok 84 /Default Values/GZlibDecompressor 1048s # End of Default Values tests 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1048s ok - glib/defaultvalue.test 1048s # Running test: glib/cache.test 1048s TAP version 14 1048s # random seed: R02Sada461bc2042f7207f18f372f733ab87 1048s 1..1 1048s # Start of cache tests 1048s ok 1 /cache/basic 1048s # End of cache tests 1048s ok - glib/cache.test 1048s # Running test: glib/charset.test 1048s TAP version 14 1048s # random seed: R02Sff58c21c39f00e2307e116c0114a5cde 1048s 1..2 1048s # Start of charset tests 1048s # Test 0 1048s # Test 1 1048s # Test 2 1048s # Test 3 1048s ok 1 /charset/language_names_with_category 1048s ok 2 /charset/language_names_with_category_async 1048s # End of charset tests 1048s ok - glib/charset.test 1048s # Running test: glib/stream-rw_all.test 1048s TAP version 14 1048s # random seed: R02Sde3798af3840c6fb000bcd9f8da9951f 1048s 1..3 1048s # Start of stream tests 1048s # Start of read_all_async tests 1048s ok 1 /stream/read_all_async/memory 1048s # End of read_all_async tests 1048s # Start of write_all_async tests 1048s ok 2 /stream/write_all_async/memory 1048s # End of write_all_async tests 1048s # Start of read_write_all_async tests 1048s ok 3 /stream/read_write_all_async/pipe 1048s # End of read_write_all_async tests 1048s # End of stream tests 1048s ok - glib/stream-rw_all.test 1048s # Running test: glib/refstring.test 1048s TAP version 14 1048s # random seed: R02S64ccf30ae078732395b98245c0c42086 1048s 1..6 1048s # Start of refstring tests 1048s # s = 'hello, world' (0x1f8f7c183b0) 1048s ok 1 /refstring/base 1048s ok 2 /refstring/length 1048s ok 3 /refstring/length-auto 1048s ok 4 /refstring/length-nuls 1048s # s = 'hello, world' (0x1f8f7c18300) 1048s # p = s = 'hello, world' (0x1f8f7c18300) 1048s # releasing p[0x1f8f7c18300] ('hello, world') 1048s # p = 'goodbye, world' (0x1f8f7c183b0) 1048s # releasing p[0x1f8f7c183b0] ('goodbye, world') 1048s # releasing s[0x1f8f7c18300] ('hello, world') 1048s ok 5 /refstring/intern 1049s # Executing: glib/refstring.test 1050s ok 6 /refstring/intern-thread-safety 1050s # slow test /refstring/intern-thread-safety executed in 1.81 secs 1050s # End of refstring tests 1050s ok - glib/refstring.test 1050s # Running test: glib/keyfile.test 1050s TAP version 14 1050s # random seed: R02S3ebc65cfe183aa2df22bcac0cb200f85 1050s 1..36 1050s # Start of keyfile tests 1050s ok 1 /keyfile/line-ends 1050s ok 2 /keyfile/whitespace 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1050s ok 3 /keyfile/comments 1050s ok 4 /keyfile/listing 1050s ok 5 /keyfile/string 1050s ok 6 /keyfile/boolean 1050s ok 7 /keyfile/number 1050s ok 8 /keyfile/locale-string 1050s ok 9 /keyfile/lists 1050s ok 10 /keyfile/lists-set-get 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1050s ok 11 /keyfile/group-remove 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1050s ok 12 /keyfile/key-remove 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1050s ok 13 /keyfile/groups 1050s ok 14 /keyfile/duplicate-keys 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1050s ok 15 /keyfile/duplicate-groups 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1050s ok 16 /keyfile/duplicate-groups2 1050s ok 17 /keyfile/group-names 1050s ok 18 /keyfile/key-names 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1050s ok 19 /keyfile/reload 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1050s ok 20 /keyfile/int64 1050s ok 21 /keyfile/load 1050s ok 22 /keyfile/save 1050s ok 23 /keyfile/load-fail 1050s ok 24 /keyfile/non-utf8 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1050s ok 25 /keyfile/page-boundary 1050s ok 26 /keyfile/ref 1050s ok 27 /keyfile/replace-value 1050s ok 28 /keyfile/list-separator 1050s ok 29 /keyfile/empty-string 1050s ok 30 /keyfile/limbo 1050s # Testing invalid encoding ?non-UTF-8? 1050s # Testing invalid encoding ?UTF? 1050s # Testing invalid encoding ?UTF-9? 1050s ok 31 /keyfile/utf8 1050s ok 32 /keyfile/roundtrip 1050s ok 33 /keyfile/bytes 1050s ok 34 /keyfile/get-locale 1050s ok 35 /keyfile/free-when-not-last-ref 1050s # Start of locale-string tests 1050s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1050s ok 36 /keyfile/locale-string/multiple-loads 1050s # End of locale-string tests 1050s # End of keyfile tests 1050s ok - glib/keyfile.test 1050s # Running test: glib/gdbus-close-pending.test 1050s TAP version 14 1050s # random seed: R02S731e61a72d4a9e69e9c2819acb16cd4d 1050s 1..2 1050s # Start of gdbus tests 1050s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/home 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/cache 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/system-config2 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/config 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/system-data2 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/data 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/state 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_FEKB02/gdbus/close-pending/.dirs/runtime 1050s ok 1 /gdbus/close-pending 1050s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/home 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/cache 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/system-config2 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/config 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/system-data2 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/data 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/state 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_FEKB02/gdbus/unref-pending/.dirs/runtime 1051s ok 2 /gdbus/unref-pending 1051s # End of gdbus tests 1051s ok - glib/gdbus-close-pending.test 1051s # Running test: glib/data-output-stream.test 1051s TAP version 14 1051s # random seed: R02Sdcb393959bda42adb60a71a25ad1076a 1051s 1..7 1051s # Start of data-output-stream tests 1051s ok 1 /data-output-stream/basic 1051s ok 2 /data-output-stream/write-lines-LF 1051s ok 3 /data-output-stream/write-lines-CR 1051s ok 4 /data-output-stream/write-lines-CR-LF 1051s ok 5 /data-output-stream/write-int 1051s ok 6 /data-output-stream/seek 1051s ok 7 /data-output-stream/truncate 1051s # End of data-output-stream tests 1051s ok - glib/data-output-stream.test 1051s # Running test: glib/mem-overflow.test 1051s TAP version 14 1051s # random seed: R02Sc26b87cf5521b407104ee8937fc72a0a 1051s 1..2 1051s # Start of mem tests 1051s ok 1 /mem/overflow 1051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1051s ok 2 /mem/empty-alloc 1051s # Start of overflow tests 1051s # Start of subprocess tests 1051s # End of subprocess tests 1051s # End of overflow tests 1051s # Start of empty-alloc tests 1051s # End of empty-alloc tests 1051s # End of mem tests 1051s ok - glib/mem-overflow.test 1051s # Running test: glib/unicode-encoding.test 1051s TAP version 14 1051s # random seed: R02Sad33472ba4c7a2ec15832616705ba858 1051s 1..1 1051s # Start of unicode tests 1051s ok 1 /unicode/encoding 1051s # End of unicode tests 1051s ok - glib/unicode-encoding.test 1051s # Running test: glib/repository-search-paths.test 1051s TAP version 14 1051s # random seed: R02S8048044f547b2b3faa4994d39cddaa9e 1051s 1..4 1051s # Start of repository tests 1051s # Start of search-paths tests 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_TFID02/repository/search-paths/default/.dirs/runtime 1051s ok 1 /repository/search-paths/default 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_TFID02/repository/search-paths/prepend/.dirs/runtime 1051s ok 2 /repository/search-paths/prepend 1051s # End of search-paths tests 1051s # Start of library-paths tests 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_TFID02/repository/library-paths/default/.dirs/runtime 1051s ok 3 /repository/library-paths/default 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_TFID02/repository/library-paths/prepend/.dirs/runtime 1051s ok 4 /repository/library-paths/prepend 1051s # End of library-paths tests 1051s # End of repository tests 1051s ok - glib/repository-search-paths.test 1051s # Running test: glib/guuid.test 1051s TAP version 14 1051s # random seed: R02S3eaeea932b7af7954d0188bac4a20ffe 1051s 1..2 1051s # Start of uuid tests 1051s ok 1 /uuid/string 1051s ok 2 /uuid/random 1051s # End of uuid tests 1051s ok - glib/guuid.test 1051s # Running test: glib/notify-init.test 1051s TAP version 14 1051s # random seed: R02Sec416077d2a7ea31e585608fe50d2ec8 1051s 1..1 1051s # Start of properties tests 1051s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1051s ok 1 /properties/notify-in-init 1051s # End of properties tests 1051s ok - glib/notify-init.test 1051s # Running test: glib/sleepy-stream.test 1051s TAP version 14 1051s # random seed: R02S1001fcf952e9873ff3a948aaa7cca2b2 1051s 1..2 1051s # Start of filter-stream tests 1051s ok 1 /filter-stream/input 1051s ok 2 /filter-stream/async 1051s # End of filter-stream tests 1051s ok - glib/sleepy-stream.test 1051s # Running test: glib/gobject-query.py.test 1051s TAP version 13 1051s ok 1 __main__.TestGobjectQuery.test_froots 1051s # gobject-query: /usr/bin/gobject-query 1051s # Running: ['/usr/bin/gobject-query', 'froots'] 1051s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1051s # Output: ├void 1051s # ├GInterface 1051s # │ â””GTypePlugin 1051s # ├gchar 1051s # ├guchar 1051s # ├gboolean 1051s # ├gint 1051s # ├guint 1051s # ├glong 1051s # ├gulong 1051s # ├gint64 1051s # ├guint64 1051s # ├GEnum 1051s # ├GFlags 1051s # ├gfloat 1051s # ├gdouble 1051s # ├gchararray 1051s # ├gpointer 1051s # │ â””GType 1051s # ├GBoxed 1051s # │ â””GValueArray 1051s # ├GParam 1051s # │ ├GParamChar 1051s # │ ├GParamUChar 1051s # │ ├GParamBoolean 1051s # │ ├GParamInt 1051s # │ ├GParamUInt 1051s # │ ├GParamLong 1051s # │ ├GParamULong 1051s # │ ├GParamInt64 1051s # │ ├GParamUInt64 1051s # │ ├GParamUnichar 1051s # │ ├GParamEnum 1051s # │ ├GParamFlags 1051s # │ ├GParamFloat 1051s # │ ├GParamDouble 1051s # │ ├GParamString 1051s # │ ├GParamParam 1051s # │ ├GParamBoxed 1051s # │ ├GParamPointer 1051s # │ ├GParamValueArray 1051s # │ ├GParamObject 1051s # │ ├GParamOverride 1051s # │ ├GParamGType 1051s # │ â””GParamVariant 1051s # ├GObject 1051s # â””GVariant 1051s ok 2 __main__.TestGobjectQuery.test_help 1051s # gobject-query: /usr/bin/gobject-query 1051s # Running: ['/usr/bin/gobject-query', '--help'] 1051s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1051s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1051s # -r specify root type 1051s # -n don't descend type tree 1051s # -h show help 1051s # -b specify indent string 1051s # -i specify incremental indent string 1051s # -s specify line spacing 1051s # qualifiers: 1051s # froots iterate over fundamental roots 1051s # tree print type tree 1051s ok 3 __main__.TestGobjectQuery.test_tree 1051s # gobject-query: /usr/bin/gobject-query 1051s # Running: ['/usr/bin/gobject-query', 'tree'] 1051s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1051s # Output: GObject 1051s ok 4 __main__.TestGobjectQuery.test_version 1051s # gobject-query: /usr/bin/gobject-query 1051s # Running: ['/usr/bin/gobject-query', '--version'] 1051s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1051s # Output: 2.82.4 1051s 1..4 1051s ok - glib/gobject-query.py.test 1051s # Running test: glib/gdbus-proxy-threads.test 1051s TAP version 14 1051s # random seed: R02S99c785121696537f8ff6a2a20ef24b12 1051s 1..1 1051s # Start of gdbus tests 1051s # Start of proxy tests 1051s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/home 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/cache 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/system-config2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/config 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/system-data2 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/data 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/state 1051s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_UTX9Z2/gdbus/proxy/vs-threads/.dirs/runtime 1051s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1053s ok 1 /gdbus/proxy/vs-threads 1053s # slow test /gdbus/proxy/vs-threads executed in 2.38 secs 1053s # End of proxy tests 1053s # End of gdbus tests 1053s cleaning up pid 5722 1053s ok - glib/gdbus-proxy-threads.test 1053s # Running test: glib/threadtests.test 1053s TAP version 14 1053s # random seed: R02Sc585316eeb9d5b079ba2d05545a92f6e 1053s 1..5 1053s # Start of GObject tests 1053s ok 1 /GObject/threaded-object-init 1054s # Executing: glib/threadtests.test 1054s ok 2 /GObject/threaded-weak-ref 1054s # slow test /GObject/threaded-weak-ref executed in 1.19 secs 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1054s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 1055s ok 3 /GObject/threaded-toggle-notify 1055s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1055s # Start of threaded-weak-ref tests 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1055s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 1055s ok 5 /GObject/threaded-weak-ref/on-finalization 1055s # End of threaded-weak-ref tests 1055s # End of GObject tests 1055s ok - glib/threadtests.test 1055s # Running test: glib/mappedfile.test 1055s TAP version 14 1055s # random seed: R02S27733e09016db2e118c32d267888f836 1055s 1..7 1055s # Start of mappedfile tests 1055s ok 1 /mappedfile/basic 1055s ok 2 /mappedfile/empty 1055s ok 3 /mappedfile/device 1055s ok 4 /mappedfile/nonexisting 1055s ok 5 /mappedfile/writable 1055s ok 6 /mappedfile/writable_fd 1055s ok 7 /mappedfile/gbytes 1055s # End of mappedfile tests 1055s ok - glib/mappedfile.test 1055s # Running test: glib/portal-support-flatpak-full.test 1055s TAP version 14 1055s # random seed: R02S11f0f42e52d3bb6a4ec9700bcdabc45e 1055s 1..1 1055s # Start of portal-support tests 1055s # Start of flatpak tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/runtime 1055s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_QMS7Z2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1055s ok 1 /portal-support/flatpak/full 1055s # End of flatpak tests 1055s # End of portal-support tests 1055s ok - glib/portal-support-flatpak-full.test 1055s # Running test: glib/dataset.test 1055s TAP version 14 1055s # random seed: R02Sb0689fb8d9d266dc70409fc512cd32d9 1055s 1..14 1055s # Start of quark tests 1055s ok 1 /quark/basic 1055s ok 2 /quark/string 1055s # End of quark tests 1055s # Start of dataset tests 1055s ok 3 /dataset/basic 1055s ok 4 /dataset/id 1055s ok 5 /dataset/full 1055s ok 6 /dataset/foreach 1055s ok 7 /dataset/destroy 1055s # End of dataset tests 1055s # Start of datalist tests 1055s ok 8 /datalist/basic 1055s ok 9 /datalist/id 1055s ok 10 /datalist/recursive-clear 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1055s ok 11 /datalist/id-remove-multiple 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1055s ok 12 /datalist/id-remove-multiple-destroy-order 1055s ok 13 /datalist/update-atomic 1055s # Start of id-remove-multiple tests 1055s ok 14 /datalist/id-remove-multiple/resize 1055s # End of id-remove-multiple tests 1055s # End of datalist tests 1055s ok - glib/dataset.test 1055s # Running test: glib/credentials.test 1055s TAP version 14 1055s # random seed: R02S6a1707f81c60d8f723e936e0fde2e03c 1055s 1..1 1055s # Start of credentials tests 1055s # GCredentials:linux-ucred:pid=10743,uid=1000,gid=1000 1055s # GCredentials:linux-ucred:pid=10743,uid=0,gid=1000 1055s ok 1 /credentials/basic 1055s # End of credentials tests 1055s ok - glib/credentials.test 1055s # Running test: glib/converter.test 1055s TAP version 14 1055s # random seed: R02Scc566e85b23e54105c6c475163f3daa8 1055s 1..1 1055s # Start of converter tests 1055s ok 1 /converter/bytes 1055s # End of converter tests 1055s ok - glib/converter.test 1055s # Running test: glib/overflow.test 1055s TAP version 14 1055s # random seed: R02S9f76934a9941f51d34af27dfab9a9dd2 1055s 1..6 1055s # Start of glib tests 1055s # Start of checked-math tests 1055s ok 1 /glib/checked-math/guint-add 1055s ok 2 /glib/checked-math/guint-mul 1055s ok 3 /glib/checked-math/guint64-add 1055s ok 4 /glib/checked-math/guint64-mul 1055s ok 5 /glib/checked-math/gsize-add 1055s ok 6 /glib/checked-math/gsize-mul 1055s # End of checked-math tests 1055s # End of glib tests 1055s ok - glib/overflow.test 1055s # Running test: glib/macros.test 1055s TAP version 14 1055s # random seed: R02Sfc62b4b1ea98cc8384c46bde3399a26d 1055s 1..3 1055s # Start of alignof tests 1055s ok 1 /alignof/fallback 1055s # End of alignof tests 1055s # Start of assert tests 1055s ok 2 /assert/static 1055s # End of assert tests 1055s # Start of struct tests 1055s ok 3 /struct/sizeof_member 1055s # End of struct tests 1055s ok - glib/macros.test 1055s # Running test: glib/fileutils.test 1055s TAP version 14 1055s # random seed: R02S68d488bcb92f23ae0ecb25a09328b32a 1055s 1..27 1055s # Start of fileutils tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/paths/.dirs/runtime 1055s ok 1 /fileutils/paths 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/build-path/.dirs/runtime 1055s ok 2 /fileutils/build-path 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/build-pathv/.dirs/runtime 1055s ok 3 /fileutils/build-pathv 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/build-filename/.dirs/runtime 1055s ok 4 /fileutils/build-filename 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/build-filenamev/.dirs/runtime 1055s ok 5 /fileutils/build-filenamev 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents/.dirs/runtime 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s ok 6 /fileutils/mkdir-with-parents 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s ok 7 /fileutils/mkdir-with-parents-permission 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/format-size-for-display/.dirs/runtime 1055s ok 8 /fileutils/format-size-for-display 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/errors/.dirs/runtime 1055s ok 9 /fileutils/errors 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/basename/.dirs/runtime 1055s ok 10 /fileutils/basename 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/get-basename/.dirs/runtime 1055s ok 11 /fileutils/get-basename 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/dirname/.dirs/runtime 1055s ok 12 /fileutils/dirname 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/dir-make-tmp/.dirs/runtime 1055s ok 13 /fileutils/dir-make-tmp 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/file-open-tmp/.dirs/runtime 1055s ok 14 /fileutils/file-open-tmp 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/file-test/.dirs/runtime 1055s ok 15 /fileutils/file-test 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/mkstemp/.dirs/runtime 1055s ok 16 /fileutils/mkstemp 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/mkdtemp/.dirs/runtime 1055s ok 17 /fileutils/mkdtemp 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/get-contents/.dirs/runtime 1055s ok 18 /fileutils/get-contents 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/get-contents-large-file/.dirs/runtime 1055s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/set-contents/.dirs/runtime 1055s ok 20 /fileutils/set-contents 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/.dirs/runtime 1055s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1055s # Flags 0 and test 0 1055s # Flags 0 and test 1 1055s # Flags 0 and test 2 1055s # Flags 0 and test 3 1055s # Flags 0 and test 4 1055s # Flags 0 and test 5 1055s # Flags 1 and test 0 1055s # Flags 1 and test 1 1055s # Flags 1 and test 2 1055s # Flags 1 and test 3 1055s # Flags 1 and test 4 1055s # Flags 1 and test 5 1055s # Flags 2 and test 0 1055s # Flags 2 and test 1 1055s # Flags 2 and test 2 1055s # Flags 2 and test 3 1055s # Flags 2 and test 4 1055s # Flags 2 and test 5 1055s # Flags 3 and test 0 1055s # Flags 3 and test 1 1055s # Flags 3 and test 2 1055s # Flags 3 and test 3 1055s # Flags 3 and test 4 1055s # Flags 3 and test 5 1055s # Flags 4 and test 0 1055s # Flags 4 and test 1 1055s # Flags 4 and test 2 1055s # Flags 4 and test 3 1055s # Flags 4 and test 4 1055s # Flags 4 and test 5 1055s # Flags 5 and test 0 1055s # Flags 5 and test 1 1055s # Flags 5 and test 2 1055s # Flags 5 and test 3 1055s # Flags 5 and test 4 1055s # Flags 5 and test 5 1055s # Flags 6 and test 0 1055s # Flags 6 and test 1 1055s # Flags 6 and test 2 1055s # Flags 6 and test 3 1055s # Flags 6 and test 4 1055s # Flags 6 and test 5 1055s ok 21 /fileutils/set-contents-full 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/read-link/.dirs/runtime 1055s ok 22 /fileutils/read-link 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/stdio-wrappers/.dirs/runtime 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s ok 23 /fileutils/stdio-wrappers 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/fopen-modes/.dirs/runtime 1055s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1055s # Testing fopen() mode 'w' 1055s # Testing fopen() mode 'r' 1055s # Testing fopen() mode 'a' 1055s # Testing fopen() mode 'w+' 1055s # Testing fopen() mode 'r+' 1055s # Testing fopen() mode 'a+' 1055s # Testing fopen() mode 'wb' 1055s # Testing fopen() mode 'rb' 1055s # Testing fopen() mode 'ab' 1055s # Testing fopen() mode 'w+b' 1055s # Testing fopen() mode 'r+b' 1055s # Testing fopen() mode 'a+b' 1055s # Testing fopen() mode 'wb+' 1055s # Testing fopen() mode 'rb+' 1055s # Testing fopen() mode 'ab+' 1055s ok 24 /fileutils/fopen-modes 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/clear-fd/.dirs/runtime 1055s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1055s # Will be closed by autocleanup: 3, -42 1055s # Testing error handling 1055s ok 25 /fileutils/clear-fd 1055s # Start of set-contents-full tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1055s ok 26 /fileutils/set-contents-full/read-only-file 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2W38Z2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1055s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1055s # Flags 0 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # Flags 1 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # Flags 2 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # Flags 3 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # Flags 4 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # Flags 5 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s # Flags 6 1055s # We do not have CAP_DAC_OVERRIDE or equivalent 1055s ok 27 /fileutils/set-contents-full/read-only-directory 1055s # End of set-contents-full tests 1055s # Start of clear-fd tests 1055s # Start of subprocess tests 1055s # End of subprocess tests 1055s # End of clear-fd tests 1055s # End of fileutils tests 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-FY9O02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-HI3O02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-6NJO02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-EX5N02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-T07N02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-0N5O02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2/glib-file-set-contents-full-rodir-AB2O02: Directory not empty 1055s Unable to clean up temporary directory /tmp/test_fileutils_2W38Z2: Directory not empty 1055s ok - glib/fileutils.test 1055s # Running test: glib/bindinggroup.test 1055s TAP version 14 1055s # random seed: R02Sbb8a4dc4b50d55aa79d69bd77b7d6db5 1055s 1..11 1055s # Start of GObject tests 1055s # Start of BindingGroup tests 1055s ok 1 /GObject/BindingGroup/invalid 1055s ok 2 /GObject/BindingGroup/default 1055s ok 3 /GObject/BindingGroup/bidirectional 1055s ok 4 /GObject/BindingGroup/transform 1055s ok 5 /GObject/BindingGroup/transform-closures 1055s ok 6 /GObject/BindingGroup/same-object 1055s ok 7 /GObject/BindingGroup/weak-ref-source 1055s ok 8 /GObject/BindingGroup/weak-ref-target 1055s ok 9 /GObject/BindingGroup/properties 1055s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1055s ok 11 /GObject/BindingGroup/empty-closures 1055s # End of BindingGroup tests 1055s # End of GObject tests 1055s ok - glib/bindinggroup.test 1055s # Running test: glib/file-thumbnail.test 1055s TAP version 14 1055s # random seed: R02S907391de34a01feb1350988413c222b3 1055s 1..7 1055s # Start of file-thumbnail tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/runtime 1055s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 1 /file-thumbnail/fail 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/runtime 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 2 /file-thumbnail/size-priority 1055s # Start of valid tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/runtime 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 3 /file-thumbnail/valid/normal 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/runtime 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 4 /file-thumbnail/valid/large 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/runtime 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 5 /file-thumbnail/valid/x-large 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/runtime 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 6 /file-thumbnail/valid/xx-large 1055s # End of valid tests 1055s # Start of unknown tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/runtime 1055s # Created test thumbnail at /tmp/test_file-thumbnail_JQRO02/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1055s ok 7 /file-thumbnail/unknown/super-large 1055s # End of unknown tests 1055s # End of file-thumbnail tests 1055s ok - glib/file-thumbnail.test 1055s # Running test: glib/atomic-c-17.test 1055s TAP version 14 1055s # random seed: R02Sa9951899523afc0549423df2a90a3f33 1055s 1..2 1055s # Start of atomic tests 1055s ok 1 /atomic/types 1055s ok 2 /atomic/threaded 1055s # End of atomic tests 1055s ok - glib/atomic-c-17.test 1055s # Running test: glib/module-test-library.test 1055s TAP version 14 1055s # random seed: R02Sa54a64df525588baa341825068126063 1055s 1..3 1055s # Start of module tests 1055s ok 1 /module/basics 1055s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1055s ok 2 /module/invalid-libtool-archive 1055s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1055s ok 3 /module/local-binding 1055s # End of module tests 1055s ok - glib/module-test-library.test 1055s # Running test: glib/hostutils.test 1055s TAP version 14 1055s # random seed: R02Sc462ac677e118299c5393bdb93d0ce28 1055s 1..3 1055s # Start of hostutils tests 1055s ok 1 /hostutils/to_ascii 1055s ok 2 /hostutils/to_unicode 1055s ok 3 /hostutils/is_ip_addr 1055s # End of hostutils tests 1055s ok - glib/hostutils.test 1055s # Running test: glib/gdbus-subscribe.test 1055s TAP version 14 1055s # random seed: R02Sefc026a845204b8d9a49ab2bf0708f35 1055s 1..24 1055s # Start of gdbus tests 1055s # Start of subscribe tests 1055s # Start of conn tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/simple/.dirs/runtime 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1055s # Step 0: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 1: adding subscription 1055s # Sender: (any) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 2: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 2 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 1 /gdbus/subscribe/conn/simple 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1055s # Step 0: adding subscription 1055s # Sender: (any) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: service 2 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 3: emitting signal 1055s # Sender: service 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 4: emitting signal 1055s # Sender: service 2 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 1 1055s # Signal received from service 2 :1.2 1055s # Signal received from service 2 :1.2 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 2 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 3 1055s # Signal received from service 2 :1.2 1055s # Signal received from service 2 :1.2 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1055s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1055s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1055s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/match_twice/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1055s # Step 0: adding subscription 1055s # Sender: service :1.1 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 1: adding subscription 1055s # Sender: (any) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: (any) 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 2: adding subscription 1055s # Sender: (any) 1055s # Path: (any) 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 3: adding subscription 1055s # Sender: service :1.1 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 4: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 3 /gdbus/subscribe/conn/match_twice 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1055s # Step 0: adding subscription 1055s # Sender: service :1.1 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 3: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 3 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1055s # Step 0: adding subscription 1055s # Sender: :0.this.had.better.not.exist 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1055s # Step 0: claiming bus name 1055s # Name: org.gtk.Test.AlreadyOwned 1055s # Owner: service 1055s # Step 1: adding subscription 1055s # Sender: org.gtk.Test.AlreadyOwned 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 2: adding subscription 1055s # Sender: org.gtk.Test.OwnedLater 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 3: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 4: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 5: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 6: claiming bus name 1055s # Name: org.gtk.Test.OwnedLater 1055s # Owner: service 1055s # Step 7: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 5 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 7 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via connection 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 7 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1055s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1055s # Step 0: adding subscription 1055s # Sender: org.freedesktop.DBus 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: NameOwnerChanged 1055s # String argument 0: would I lie to you? 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: NameOwnerChanged 1055s # Waiting for signal to reach message bus 1055s # Step 3: claiming bus name 1055s # Name: org.gtk.Test.OwnedLater 1055s # Owner: service 1055s # Signal received from message bus org.freedesktop.DBus 1055s # Signal received from (unused) org.freedesktop.DBus via connection 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: NameOwnerChanged 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1055s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1055s # Step 0: claiming bus name 1055s # Name: org.gtk.Test.AlreadyOwned 1055s # Owner: service 1055s # Step 1: adding subscription 1055s # Sender: org.gtk.Test.AlreadyOwned 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via connection 1055s # Immediately unsubscribing 1055s # Waiting for AddMatch to be processed 1055s # Step 2: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1055s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1055s # End of conn tests 1055s # Start of proxy tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/simple/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1055s # Step 0: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 1: adding subscription 1055s # Sender: (any) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Cannot subscribe via proxy: no bus name 1055s # Waiting for AddMatch to be processed 1055s # Step 2: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 9 /gdbus/subscribe/proxy/simple 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1055s # Step 0: adding subscription 1055s # Sender: (any) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Cannot subscribe via proxy: no bus name 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: service 2 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 3: emitting signal 1055s # Sender: service 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 4: emitting signal 1055s # Sender: service 2 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1055s # Step 0: adding subscription 1055s # Sender: service :1.1 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 1: adding subscription 1055s # Sender: (any) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: (any) 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Cannot subscribe via proxy: no bus name 1055s # Waiting for AddMatch to be processed 1055s # Step 2: adding subscription 1055s # Sender: (any) 1055s # Path: (any) 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Cannot subscribe via proxy: no bus name 1055s # Waiting for AddMatch to be processed 1055s # Step 3: adding subscription 1055s # Sender: service :1.1 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 4: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 4 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 11 /gdbus/subscribe/proxy/match_twice 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1055s # Step 0: adding subscription 1055s # Sender: service :1.1 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 3: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 3 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1055s # Step 0: adding subscription 1055s # Sender: :0.this.had.better.not.exist 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1055s # Step 0: claiming bus name 1055s # Name: org.gtk.Test.AlreadyOwned 1055s # Owner: service 1055s # Step 1: adding subscription 1055s # Sender: org.gtk.Test.AlreadyOwned 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 2: adding subscription 1055s # Sender: org.gtk.Test.OwnedLater 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 3: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 4: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 5: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Step 6: claiming bus name 1055s # Name: org.gtk.Test.OwnedLater 1055s # Owner: service 1055s # Step 7: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 5 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 7 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 7 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1055s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1055s # Step 0: adding subscription 1055s # Sender: org.freedesktop.DBus 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 1: emitting signal 1055s # Sender: attacker 1055s # Destination: (broadcast) 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: NameOwnerChanged 1055s # String argument 0: would I lie to you? 1055s # Waiting for signal to reach message bus 1055s # Step 2: emitting signal 1055s # Sender: attacker 1055s # Destination: subscriber :1.0 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: NameOwnerChanged 1055s # Waiting for signal to reach message bus 1055s # Step 3: claiming bus name 1055s # Name: org.gtk.Test.OwnedLater 1055s # Owner: service 1055s # Signal received from message bus org.freedesktop.DBus 1055s # Signal received from (unused) org.freedesktop.DBus via proxy 1055s # Path: /org/freedesktop/DBus 1055s # Interface: org.freedesktop.DBus 1055s # Member: NameOwnerChanged 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1055s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1055s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1055s # Step 0: claiming bus name 1055s # Name: org.gtk.Test.AlreadyOwned 1055s # Owner: service 1055s # Step 1: adding subscription 1055s # Sender: org.gtk.Test.AlreadyOwned 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: (any) 1055s # String argument 0: (any) 1055s # Flags: 0 1055s # Subscribing via proxy 1055s # Waiting for AddMatch to be processed 1055s # Step 2: emitting signal 1055s # Sender: service 1055s # Destination: (broadcast) 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Waiting for signal to reach message bus 1055s # Signal received from service :1.1 1055s # Signal received from service :1.1 via proxy 1055s # Path: /org/gtk/GDBus/ExampleInterface 1055s # Interface: org.gtk.GDBus.ExampleInterface 1055s # Member: Foo 1055s # Argument 0: (not a string) 1055s # Sent in step: 2 1055s # Received Finished signal from subscriber :1.0 1055s # Received Finished signal from service :1.1 1055s # Received Finished signal from service 2 :1.2 1055s # Received Finished signal from attacker :1.3 1055s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1055s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1055s # End of proxy tests 1055s # Start of parallel tests 1055s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/home 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/cache 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/system-config2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/config 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/system-data2 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/data 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/state 1055s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/simple/.dirs/runtime 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1055s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1055s # subscriber is :1.0 1055s # service is :1.1 1055s # service 2 is :1.2 1055s # attacker is :1.3 1055s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1056s # Step 0: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 1: adding subscription 1056s # Sender: (any) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Cannot subscribe via proxy: no bus name 1056s # Waiting for AddMatch to be processed 1056s # Step 2: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 2 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 17 /gdbus/subscribe/parallel/simple 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1056s # Step 0: adding subscription 1056s # Sender: (any) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Cannot subscribe via proxy: no bus name 1056s # Waiting for AddMatch to be processed 1056s # Step 1: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 2: emitting signal 1056s # Sender: service 2 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 3: emitting signal 1056s # Sender: service 1056s # Destination: subscriber :1.0 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 4: emitting signal 1056s # Sender: service 2 1056s # Destination: subscriber :1.0 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 1 1056s # Signal received from service 2 :1.2 1056s # Signal received from service 2 :1.2 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 2 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 3 1056s # Signal received from service 2 :1.2 1056s # Signal received from service 2 :1.2 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1056s # Step 0: adding subscription 1056s # Sender: service :1.1 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 1: adding subscription 1056s # Sender: (any) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: (any) 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Cannot subscribe via proxy: no bus name 1056s # Waiting for AddMatch to be processed 1056s # Step 2: adding subscription 1056s # Sender: (any) 1056s # Path: (any) 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Cannot subscribe via proxy: no bus name 1056s # Waiting for AddMatch to be processed 1056s # Step 3: adding subscription 1056s # Sender: service :1.1 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 4: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 4 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1056s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 19 /gdbus/subscribe/parallel/match_twice 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1056s # Step 0: adding subscription 1056s # Sender: service :1.1 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 1: emitting signal 1056s # Sender: attacker 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 2: emitting signal 1056s # Sender: attacker 1056s # Destination: subscriber :1.0 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 3: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 3 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 3 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1056s # Step 0: adding subscription 1056s # Sender: :0.this.had.better.not.exist 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 1: emitting signal 1056s # Sender: attacker 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 2: emitting signal 1056s # Sender: attacker 1056s # Destination: subscriber :1.0 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1056s # Step 0: claiming bus name 1056s # Name: org.gtk.Test.AlreadyOwned 1056s # Owner: service 1056s # Step 1: adding subscription 1056s # Sender: org.gtk.Test.AlreadyOwned 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 2: adding subscription 1056s # Sender: org.gtk.Test.OwnedLater 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 3: emitting signal 1056s # Sender: attacker 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 4: emitting signal 1056s # Sender: attacker 1056s # Destination: subscriber :1.0 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 5: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Step 6: claiming bus name 1056s # Name: org.gtk.Test.OwnedLater 1056s # Owner: service 1056s # Step 7: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 5 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 5 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 7 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 7 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via connection 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 7 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 7 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1056s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1056s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1056s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1056s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1056s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1056s # Step 0: adding subscription 1056s # Sender: org.freedesktop.DBus 1056s # Path: /org/freedesktop/DBus 1056s # Interface: org.freedesktop.DBus 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 1: emitting signal 1056s # Sender: attacker 1056s # Destination: (broadcast) 1056s # Path: /org/freedesktop/DBus 1056s # Interface: org.freedesktop.DBus 1056s # Member: NameOwnerChanged 1056s # String argument 0: would I lie to you? 1056s # Waiting for signal to reach message bus 1056s # Step 2: emitting signal 1056s # Sender: attacker 1056s # Destination: subscriber :1.0 1056s # Path: /org/freedesktop/DBus 1056s # Interface: org.freedesktop.DBus 1056s # Member: NameOwnerChanged 1056s # Waiting for signal to reach message bus 1056s # Step 3: claiming bus name 1056s # Name: org.gtk.Test.OwnedLater 1056s # Owner: service 1056s # Signal received from message bus org.freedesktop.DBus 1056s # Signal received from (unused) org.freedesktop.DBus via connection 1056s # Path: /org/freedesktop/DBus 1056s # Interface: org.freedesktop.DBus 1056s # Member: NameOwnerChanged 1056s # Signal received from message bus org.freedesktop.DBus 1056s # Signal received from (unused) org.freedesktop.DBus via proxy 1056s # Path: /org/freedesktop/DBus 1056s # Interface: org.freedesktop.DBus 1056s # Member: NameOwnerChanged 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1056s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1056s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5VVM02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1056s # subscriber is :1.0 1056s # service is :1.1 1056s # service 2 is :1.2 1056s # attacker is :1.3 1056s # Waiting for AddMatch to be processed 1056s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1056s # Step 0: claiming bus name 1056s # Name: org.gtk.Test.AlreadyOwned 1056s # Owner: service 1056s # Step 1: adding subscription 1056s # Sender: org.gtk.Test.AlreadyOwned 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: (any) 1056s # String argument 0: (any) 1056s # Flags: 0 1056s # Subscribing via connection 1056s # Immediately unsubscribing 1056s # Subscribing via proxy 1056s # Waiting for AddMatch to be processed 1056s # Step 2: emitting signal 1056s # Sender: service 1056s # Destination: (broadcast) 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Waiting for signal to reach message bus 1056s # Signal received from service :1.1 1056s # Signal received from service :1.1 via proxy 1056s # Path: /org/gtk/GDBus/ExampleInterface 1056s # Interface: org.gtk.GDBus.ExampleInterface 1056s # Member: Foo 1056s # Argument 0: (not a string) 1056s # Sent in step: 2 1056s # Received Finished signal from subscriber :1.0 1056s # Received Finished signal from service :1.1 1056s # Received Finished signal from service 2 :1.2 1056s # Received Finished signal from attacker :1.3 1056s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1056s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1056s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1056s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1056s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1056s # End of parallel tests 1056s # End of subscribe tests 1056s # End of gdbus tests 1056s ok - glib/gdbus-subscribe.test 1056s # Running test: glib/gdbus-export.test 1056s TAP version 14 1056s # random seed: R02Sfa67a951ef4e0ff142867108f12b3caf 1056s 1..6 1056s # Start of gdbus tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration/.dirs/runtime 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s ok 1 /gdbus/object-registration 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0HBE02/gdbus/object-registration-with-closures/.dirs/runtime 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s ok 2 /gdbus/object-registration-with-closures 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0HBE02/gdbus/registered-interfaces/.dirs/runtime 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s ok 3 /gdbus/registered-interfaces 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0HBE02/gdbus/async-properties/.dirs/runtime 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s ok 4 /gdbus/async-properties 1056s # Start of threaded-unregistration tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/object/.dirs/runtime 1056s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1056s # /gdbus/threaded-unregistration/object summary: Test that object/subtree unregistration from one thread doesn?t cause problems when racing with method callbacks in another thread for that object or subtree 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1056s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s ok 5 /gdbus/threaded-unregistration/object 1057s # slow test /gdbus/threaded-unregistration/object executed in 1.46 secs 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_0HBE02/gdbus/threaded-unregistration/subtree/.dirs/runtime 1057s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1057s # /gdbus/threaded-unregistration/subtree summary: Test that object/subtree unregistration from one thread doesn?t cause problems when racing with method callbacks in another thread for that object or subtree 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s ok 6 /gdbus/threaded-unregistration/subtree 1059s # slow test /gdbus/threaded-unregistration/subtree executed in 1.36 secs 1059s # End of threaded-unregistration tests 1059s # End of gdbus tests 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s ok - glib/gdbus-export.test 1059s # Running test: glib/sort.test 1059s TAP version 14 1059s # random seed: R02S412c5ab38b67e5cc65a8d68cece1ca2e 1059s 1..5 1059s # Start of sort tests 1059s ok 1 /sort/basic 1059s ok 2 /sort/zero-elements 1059s ok 3 /sort/stable 1059s ok 4 /sort/big 1059s ok 5 /sort/deprecated 1059s # End of sort tests 1059s ok - glib/sort.test 1059s # Running test: glib/closure-refcount.test 1059s TAP version 14 1059s # random seed: R02Sf3d453097c3fba4b9365866afd6a6c2d 1059s 1..1 1059s # Start of closure tests 1059s # Init 0x1723d1caf1d0 1059s # Yielding from main thread 1059s # Executing: glib/closure-refcount.test 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from thread2 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from thread1 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from thread2 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from thread1 1059s # Yielding from main thread 1059s # Yielding from main thread 1059s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from thread2 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from thread1 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from thread2 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from thread1 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from thread1 1060s # Yielding from thread2 1060s # Yielding from main thread 1060s # Yielding from main thread 1060s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread1 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread2 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread1 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread2 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread1 1061s # Yielding from main thread 1061s # Yielding from main thread 1061s # Yielding from thread2 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from thread1 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from thread2 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from thread1 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from thread2 1062s # Yielding from thread1 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1062s # Yielding from main thread 1063s # Yielding from thread2 1063s # Yielding from main thread 1063s # Yielding from thread1 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from thread2 1063s # Yielding from main thread 1063s # Yielding from thread1 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from thread2 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from thread1 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from main thread 1063s # Yielding from thread2 1063s # Yielding from main thread 1063s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from thread1 1064s # Yielding from thread2 1064s # Executing: glib/closure-refcount.test 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from thread1 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Yielding from thread2 1064s # Yielding from main thread 1064s # Yielding from main thread 1064s # Stopping 1064s # Stopped 1064s ok 1 /closure/refcount 1064s # slow test /closure/refcount executed in 5.66 secs 1064s # End of closure tests 1064s ok - glib/closure-refcount.test 1064s # Running test: glib/type-flags.test 1064s TAP version 14 1064s # random seed: R02S0f1048053dda48c7834fad68b7715a29 1064s 1..4 1064s # Start of type tests 1064s # Start of flags tests 1064s ok 1 /type/flags/interface 1064s ok 2 /type/flags/final 1064s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1064s ok 3 /type/flags/deprecated 1064s # Start of final tests 1064s ok 4 /type/flags/final/instance-check 1064s # End of final tests 1064s # End of flags tests 1064s # End of type tests 1064s ok - glib/type-flags.test 1064s # Running test: glib/atomic-c-99.test 1064s TAP version 14 1064s # random seed: R02Sb9f53510d83f5f1a5e397a75dc001a85 1064s 1..2 1064s # Start of atomic tests 1064s ok 1 /atomic/types 1064s ok 2 /atomic/threaded 1064s # End of atomic tests 1064s ok - glib/atomic-c-99.test 1064s # Running test: glib/socket-address.test 1064s TAP version 14 1064s # random seed: R02S64587b426aa23e3621c3ca79a418be4f 1064s 1..2 1064s # Start of socket tests 1064s # Start of address tests 1064s # Start of unix tests 1064s ok 1 /socket/address/unix/construct 1064s ok 2 /socket/address/unix/to-string 1064s # End of unix tests 1064s # End of address tests 1064s # End of socket tests 1064s ok - glib/socket-address.test 1064s # Running test: glib/cxx-03.test 1064s TAP version 14 1064s # random seed: R02Sbc5a23b1c8927190d84e6116ec8c68ce 1064s 1..2 1064s # Start of gtask tests 1064s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1064s ok 1 /gtask/name 1064s # Start of name tests 1064s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1064s ok 2 /gtask/name/macro-wrapper 1064s # End of name tests 1064s # End of gtask tests 1064s ok - glib/cxx-03.test 1064s # Running test: glib/win32-appinfo.test 1064s TAP version 14 1064s # random seed: R02Sd4a78f72e6896e8100e7d8b3137f000a 1064s 1..5 1064s # Start of appinfo tests 1064s ok 1 /appinfo/utf16-strfuncs 1064s ok 2 /appinfo/win32-extract-executable 1064s ok 3 /appinfo/win32-rundll32-fixup 1064s ok 4 /appinfo/win32-parse-filename 1064s ok 5 /appinfo/win32-utf16-conversion-fail 1064s # Start of subprocess tests 1064s # End of subprocess tests 1064s # End of appinfo tests 1064s ok - glib/win32-appinfo.test 1064s # Running test: glib/module-test-plugin.test 1064s TAP version 14 1064s # random seed: R02Sb2183ae24ccfec55192198dc7400e3cf 1064s 1..3 1064s # Start of module tests 1064s ok 1 /module/basics 1064s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1064s ok 2 /module/invalid-libtool-archive 1064s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1064s ok 3 /module/local-binding 1064s # End of module tests 1064s ok - glib/module-test-plugin.test 1064s # Running test: glib/mainloop.test 1064s TAP version 14 1064s # random seed: R02S5482a5e53b429875747e0ae62269af62 1064s 1..45 1064s # Start of maincontext tests 1064s ok 1 /maincontext/basic 1064s # Add same-priority sources: 27 1064s # Find each source: 7 1065s # Remove in random order: 34 1065s ok 2 /maincontext/nsources_same_priority 1065s # Add different-priority sources: 26 1065s # Find each source: 7 1065s # Remove in random order: 35 1065s ok 3 /maincontext/nsources_different_priority 1065s # Add sources from threads: 115 1065s # Remove sources from threads: 155 1065s ok 4 /maincontext/nsources_threadpool 1065s ok 5 /maincontext/source_finalization 1065s # /maincontext/idle-once summary: Test g_idle_add_once() works 1065s ok 6 /maincontext/idle-once 1065s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1065s ok 7 /maincontext/timeout-once 1065s # Start of source_finalization_from_source tests 1065s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 8 /maincontext/source_finalization_from_source/0 1065s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 9 /maincontext/source_finalization_from_source/1 1065s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 10 /maincontext/source_finalization_from_source/2 1065s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 11 /maincontext/source_finalization_from_source/3 1065s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 12 /maincontext/source_finalization_from_source/4 1065s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 13 /maincontext/source_finalization_from_source/5 1065s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 14 /maincontext/source_finalization_from_source/6 1065s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 15 /maincontext/source_finalization_from_source/7 1065s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 16 /maincontext/source_finalization_from_source/8 1065s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1065s ok 17 /maincontext/source_finalization_from_source/9 1065s # End of source_finalization_from_source tests 1065s # Start of source_finalization_from_dispatch tests 1065s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1065s ok 18 /maincontext/source_finalization_from_dispatch/0 1065s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1065s ok 19 /maincontext/source_finalization_from_dispatch/1 1065s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1065s ok 20 /maincontext/source_finalization_from_dispatch/2 1065s # End of source_finalization_from_dispatch tests 1065s # End of maincontext tests 1065s # Start of mainloop tests 1065s ok 21 /mainloop/basic 1065s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1065s ok 23 /mainloop/priorities 1066s ok 24 /mainloop/invoke 1066s # slow test /mainloop/invoke executed in 0.50 secs 1067s ok 25 /mainloop/child_sources 1067s # slow test /mainloop/child_sources executed in 1.28 secs 1069s # Executing: glib/mainloop.test 1069s ok 26 /mainloop/recursive_child_sources 1069s # slow test /mainloop/recursive_child_sources executed in 2.25 secs 1069s ok 27 /mainloop/recursive_loop_child_sources 1069s ok 28 /mainloop/swapping_child_sources 1069s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1069s ok 29 /mainloop/blocked_child_sources 1070s ok 30 /mainloop/source_time 1070s # slow test /mainloop/source_time executed in 1.00 secs 1070s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1070s ok 31 /mainloop/overflow 1071s ok 32 /mainloop/ready-time 1071s # slow test /mainloop/ready-time executed in 0.50 secs 1071s ok 33 /mainloop/wakeup 1071s ok 34 /mainloop/remove-invalid 1071s ok 35 /mainloop/unref-while-pending 1072s ok 36 /mainloop/unix-fd 1072s # slow test /mainloop/unix-fd executed in 1.42 secs 1072s ok 37 /mainloop/unix-fd-source 1072s ok 38 /mainloop/source-unix-fd-api 1072s ok 39 /mainloop/wait 1072s ok 40 /mainloop/unix-file-poll 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1072s ok 41 /mainloop/unix-fd-priority 1072s ok 42 /mainloop/nfds 1072s ok 43 /mainloop/steal-fd 1072s # Start of ownerless-polling tests 1072s ok 44 /mainloop/ownerless-polling/attach-first 1072s ok 45 /mainloop/ownerless-polling/pop-first 1072s # End of ownerless-polling tests 1072s # End of mainloop tests 1072s ok - glib/mainloop.test 1072s # Running test: glib/slice.test 1072s TAP version 14 1072s # random seed: R02Se6ed5bfb79d51e69e03411cf1ff1e2e1 1072s 1..3 1072s # Start of slice tests 1072s ok 1 /slice/copy 1072s ok 2 /slice/chain 1072s ok 3 /slice/allocate 1072s # End of slice tests 1072s ok - glib/slice.test 1072s # Running test: glib/proxy-test.test 1072s TAP version 14 1072s # random seed: R02S5cf8cb57a249ce798497f02d5536525e 1072s 1..11 1072s # Start of proxy tests 1072s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1072s ok 1 /proxy/direct_sync 1072s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1072s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f78709c0 and GSocketClientAsyncConnectData 0x1876f7866260 1072s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1072s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1072s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f78713d0 for GSocketClientAsyncConnectData 0x1876f7866260 1072s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s ok 2 /proxy/direct_async 1073s ok 3 /proxy/single_sync 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7872cd0 and GSocketClientAsyncConnectData 0x1876f7871e20 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7873830 for GSocketClientAsyncConnectData 0x1876f7871e20 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s ok 4 /proxy/single_async 1073s ok 5 /proxy/multiple_sync 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7873560 and GSocketClientAsyncConnectData 0x1876f7873330 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7873eb0 for GSocketClientAsyncConnectData 0x1876f7873330 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f78738c0 for GSocketClientAsyncConnectData 0x1876f7873330 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s ok 6 /proxy/multiple_async 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1073s ok 7 /proxy/invalid-uris-sync 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7873c40 and GSocketClientAsyncConnectData 0x1876f7873140 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1073s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7872cd0 and GSocketClientAsyncConnectData 0x1876f7873140 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1073s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7872cd0 and GSocketClientAsyncConnectData 0x1876f7873140 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7871930 for GSocketClientAsyncConnectData 0x1876f7873140 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7873560 and GSocketClientAsyncConnectData 0x1876f7873620 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7871be0 for GSocketClientAsyncConnectData 0x1876f7873620 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s ok 8 /proxy/invalid-uris-async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7872cd0 and GSocketClientAsyncConnectData 0x1876f78732b0 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1073s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1073s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f78732b0 and GSocketClientAsyncConnectData 0x1876f7873620 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f78745e0 for GSocketClientAsyncConnectData 0x1876f7873620 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1073s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7872cd0 and GSocketClientAsyncConnectData 0x1876f7873140 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7873310 for GSocketClientAsyncConnectData 0x1876f7873140 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s ok 9 /proxy/dns 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f7871810 and GSocketClientAsyncConnectData 0x1876f7873900 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f78745e0 for GSocketClientAsyncConnectData 0x1876f7873900 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1073s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f78729e0 and GSocketClientAsyncConnectData 0x1876f7872c10 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7871be0 for GSocketClientAsyncConnectData 0x1876f7872c10 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1073s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1073s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1876f78732b0 and GSocketClientAsyncConnectData 0x1876f7873900 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1073s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1876f7874600 for GSocketClientAsyncConnectData 0x1876f7873900 1073s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1073s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1073s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1073s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1073s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1073s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1073s ok 10 /proxy/override 1073s ok 11 /proxy/enumerator-ports 1073s # End of proxy tests 1073s ok - glib/proxy-test.test 1073s # Running test: glib/debugcontroller.test 1073s TAP version 14 1073s # random seed: R02S70e192c548cdd3fa48614944e6cf319f 1073s 1..3 1073s # Start of debug-controller tests 1073s # Start of dbus tests 1073s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Debug output enabled 1073s # GLib-GIO-DEBUG: Debug output disabled 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 1 /debug-controller/dbus/basic 1073s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok 2 /debug-controller/dbus/duplicate 1073s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1073s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1073s # End of dbus tests 1073s # End of debug-controller tests 1073s ok - glib/debugcontroller.test 1073s # Running test: glib/node.test 1073s TAP version 14 1073s # random seed: R02S81abe6275e9e65722614dba1b9346a86 1073s 1..6 1073s # Start of node tests 1073s ok 1 /node/allocation 1073s ok 2 /node/construction 1073s ok 3 /node/traversal 1073s ok 4 /node/misc 1073s ok 5 /node/unlink 1073s ok 6 /node/copy 1073s # End of node tests 1073s ok - glib/node.test 1073s # Running test: glib/null-settings-backend.test 1073s TAP version 14 1073s # random seed: R02S128996489ff0292c2f436bd752de3df9 1073s 1..1 1073s # Start of null-settings-backend tests 1073s ok 1 /null-settings-backend/extension-point-registered 1073s # End of null-settings-backend tests 1073s ok - glib/null-settings-backend.test 1073s # Running test: glib/readwrite.test 1073s TAP version 14 1073s # random seed: R02S00a54e6e00974a25f18c9b810bf01098 1073s 1..3 1073s # Start of readwrite tests 1073s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1073s ok 1 /readwrite/test_g_file_open_readwrite 1073s ok 2 /readwrite/test_g_file_create_readwrite 1073s ok 3 /readwrite/test_g_file_replace_readwrite 1073s # End of readwrite tests 1073s ok - glib/readwrite.test 1073s # Running test: glib/utf8-misc.test 1073s TAP version 14 1073s # random seed: R02S60e4994e8711766573a6da230df024b9 1073s 1..7 1073s # Start of utf8 tests 1073s ok 1 /utf8/strlen 1073s ok 2 /utf8/strncpy 1073s ok 3 /utf8/strrchr 1073s ok 4 /utf8/reverse 1073s ok 5 /utf8/substring 1073s ok 6 /utf8/make-valid 1073s ok 7 /utf8/truncate-middle 1073s # End of utf8 tests 1073s ok - glib/utf8-misc.test 1073s # Running test: glib/gdbus-connection-flush.test 1073s TAP version 14 1073s # random seed: R02S4a86824a7afaedbcbf167f0599a8165b 1073s 1..2 1073s # Start of gdbus tests 1073s # Start of connection tests 1073s # Start of flush tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/busy/.dirs/runtime 1073s ok 1 /gdbus/connection/flush/busy 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_2J4C02/gdbus/connection/flush/idle/.dirs/runtime 1073s ok 2 /gdbus/connection/flush/idle 1073s # End of flush tests 1073s # End of connection tests 1073s # End of gdbus tests 1073s ok - glib/gdbus-connection-flush.test 1073s # Running test: glib/markup-subparser.test 1073s TAP version 14 1073s # random seed: R02S9f6821b63640330fd7191f8843d093d3 1073s 1..14 1073s # Start of glib tests 1073s # Start of markup tests 1073s # Start of subparser tests 1073s # Start of success tests 1073s ok 1 /glib/markup/subparser/success/0 1073s ok 2 /glib/markup/subparser/success/1 1073s ok 3 /glib/markup/subparser/success/2 1073s ok 4 /glib/markup/subparser/success/3 1073s ok 5 /glib/markup/subparser/success/4 1073s ok 6 /glib/markup/subparser/success/5 1073s ok 7 /glib/markup/subparser/success/6 1073s # End of success tests 1073s # Start of failure tests 1073s ok 8 /glib/markup/subparser/failure/0 1073s ok 9 /glib/markup/subparser/failure/1 1073s ok 10 /glib/markup/subparser/failure/2 1073s ok 11 /glib/markup/subparser/failure/3 1073s ok 12 /glib/markup/subparser/failure/4 1073s ok 13 /glib/markup/subparser/failure/5 1073s ok 14 /glib/markup/subparser/failure/6 1073s # End of failure tests 1073s # End of subparser tests 1073s # End of markup tests 1073s # End of glib tests 1073s ok - glib/markup-subparser.test 1073s # Running test: glib/gdatetime.test 1073s TAP version 14 1073s # random seed: R02S1c5565f5df55071ffd95f9a9cfd00d4b 1073s 1..68 1073s # Start of GDateTime tests 1073s # Bug Reference: http://bugzilla.gnome.org/702674 1073s ok 1 /GDateTime/invalid 1073s ok 2 /GDateTime/add_days 1073s ok 3 /GDateTime/add_full 1073s ok 4 /GDateTime/add_hours 1073s ok 5 /GDateTime/add_minutes 1073s ok 6 /GDateTime/add_months 1073s ok 7 /GDateTime/add_seconds 1073s ok 8 /GDateTime/add_weeks 1073s ok 9 /GDateTime/add_years 1073s ok 10 /GDateTime/compare 1073s ok 11 /GDateTime/diff 1073s ok 12 /GDateTime/equal 1073s ok 13 /GDateTime/get_day_of_week 1073s ok 14 /GDateTime/get_day_of_month 1073s ok 15 /GDateTime/get_day_of_year 1073s ok 16 /GDateTime/get_hour 1073s ok 17 /GDateTime/get_microsecond 1073s ok 18 /GDateTime/get_minute 1073s ok 19 /GDateTime/get_month 1073s ok 20 /GDateTime/get_second 1073s ok 21 /GDateTime/get_utc_offset 1073s ok 22 /GDateTime/get_year 1073s ok 23 /GDateTime/hash 1073s ok 24 /GDateTime/new_from_unix 1073s ok 25 /GDateTime/new_from_unix_utc 1073s ok 26 /GDateTime/new_from_timeval 1073s ok 27 /GDateTime/new_from_timeval_utc 1073s ok 28 /GDateTime/new_from_iso8601 1073s ok 29 /GDateTime/new_full 1073s ok 30 /GDateTime/now 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1073s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1073s # %a -> expected: Sat 1073s # %a -> actual: Sat 1073s # %A -> expected: Saturday 1073s # %A -> actual: Saturday 1073s # %b -> expected: Oct 1073s # %b -> actual: Oct 1073s # %B -> expected: October 1073s # %B -> actual: October 1073s # %d -> expected: 24 1073s # %d -> actual: 24 1073s # %d -> expected: 01 1073s # %d -> actual: 01 1073s # %e -> expected: 24 1073s # %e -> actual: 24 1073s # %e -> expected:  1 1073s # %e -> actual:  1 1073s # %f -> expected: 001000 1073s # %f -> actual: 001000 1073s # %h -> expected: Oct 1073s # %h -> actual: Oct 1073s # %H -> expected: 00 1073s # %H -> actual: 00 1073s # %H -> expected: 15 1073s # %H -> actual: 15 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 03 1073s # %I -> actual: 03 1073s # %j -> expected: 297 1073s # %j -> actual: 297 1073s # %k -> expected:  0 1073s # %k -> actual:  0 1073s # %k -> expected: 13 1073s # %k -> actual: 13 1073s # %l -> expected: 12 1073s # %l -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %l -> expected:  1 1073s # %l -> actual:  1 1073s # %l -> expected: 10 1073s # %l -> actual: 10 1073s # %m -> expected: 10 1073s # %m -> actual: 10 1073s # %M -> expected: 00 1073s # %M -> actual: 00 1073s # %p -> expected: AM 1073s # %p -> actual: AM 1073s # %p -> expected: PM 1073s # %p -> actual: PM 1073s # %P -> expected: am 1073s # %P -> actual: am 1073s # %P -> expected: pm 1073s # %P -> actual: pm 1073s # %r -> expected: 12:00:00 AM 1073s # %r -> actual: 12:00:00 AM 1073s # %r -> expected: 01:13:13 PM 1073s # %r -> actual: 01:13:13 PM 1073s # %R -> expected: 00:00 1073s # %R -> actual: 00:00 1073s # %R -> expected: 13:13 1073s # %R -> actual: 13:13 1073s # %S -> expected: 00 1073s # %S -> actual: 00 1073s # %t -> expected: 1073s # %t -> actual: 1073s # %u -> expected: 6 1073s # %u -> actual: 6 1073s # %x -> expected: 10/24/09 1073s # %x -> actual: 10/24/09 1073s # %X -> expected: 00:00:00 1073s # %X -> actual: 00:00:00 1073s # %X -> expected: 13:14:15 1073s # %X -> actual: 13:14:15 1073s # %y -> expected: 09 1073s # %y -> actual: 09 1073s # %Y -> expected: 2009 1073s # %Y -> actual: 2009 1073s # %% -> expected: % 1073s # %% -> actual: % 1073s # % -> expected: 1073s # % -> actual: 1073s # %9 -> expected: (null) 1073s # %9 -> actual: (null) 1073s # %Z -> expected: UTC 1073s # %Z -> actual: UTC 1073s ok 32 /GDateTime/printf 1073s # %a -> expected: ÅÚ 1073s # %a -> actual: ÅÚ 1073s # %A -> expected: ÅÚÍËÆü 1073s # %A -> actual: ÅÚÍËÆü 1073s # %b -> expected: 10·î 1073s # %b -> actual: 10·î 1073s # %B -> expected: 10·î 1073s # %B -> actual: 10·î 1073s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %C -> expected: 20 1073s # %C -> actual: 20 1073s # %d -> expected: 24 1073s # %d -> actual: 24 1073s # %d -> expected: 01 1073s # %d -> actual: 01 1073s # %e -> expected: 24 1073s # %e -> actual: 24 1073s # %h -> expected: 10·î 1073s # %h -> actual: 10·î 1073s # %H -> expected: 00 1073s # %H -> actual: 00 1073s # %H -> expected: 15 1073s # %H -> actual: 15 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 03 1073s # %I -> actual: 03 1073s # %j -> expected: 297 1073s # %j -> actual: 297 1073s # %k -> expected: ?0 1073s # %k -> actual: ?0 1073s # %k -> expected: 13 1073s # %k -> actual: 13 1073s # %l -> expected: 12 1073s # %l -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %l -> expected: ?1 1073s # %l -> actual: ?1 1073s # %l -> expected: 10 1073s # %l -> actual: 10 1073s # %m -> expected: 10 1073s # %m -> actual: 10 1073s # %M -> expected: 00 1073s # %M -> actual: 00 1073s # %p -> expected: ¸áÁ° 1073s # %p -> actual: ¸áÁ° 1073s # %p -> expected: ¸á¸å 1073s # %p -> actual: ¸á¸å 1073s # %P -> expected: ¸áÁ° 1073s # %P -> actual: ¸áÁ° 1073s # %P -> expected: ¸á¸å 1073s # %P -> actual: ¸á¸å 1073s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1073s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1073s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1073s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1073s # %R -> expected: 00:00 1073s # %R -> actual: 00:00 1073s # %R -> expected: 13:13 1073s # %R -> actual: 13:13 1073s # %S -> expected: 00 1073s # %S -> actual: 00 1073s # %t -> expected: 1073s # %t -> actual: 1073s # %u -> expected: 6 1073s # %u -> actual: 6 1073s # %x -> expected: 2009ǯ10·î24Æü 1073s # %x -> actual: 2009ǯ10·î24Æü 1073s # %X -> expected: 00»þ00ʬ00Éà 1073s # %X -> actual: 00»þ00ʬ00Éà 1073s # %X -> expected: 13»þ14ʬ15Éà 1073s # %X -> actual: 13»þ14ʬ15Éà 1073s # %y -> expected: 09 1073s # %y -> actual: 09 1073s # %Y -> expected: 2009 1073s # %Y -> actual: 2009 1073s # %% -> expected: % 1073s # %% -> actual: % 1073s # % -> expected: 1073s # % -> actual: 1073s # %9 -> expected: (null) 1073s # %9 -> actual: (null) 1073s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %EC -> expected: Ê¿À® 1073s # %EC -> actual: Ê¿À® 1073s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1073s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1073s # %EX -> expected: 00»þ00ʬ00Éà 1073s # %EX -> actual: 00»þ00ʬ00Éà 1073s # %Ey -> expected: 21 1073s # %Ey -> actual: 21 1073s # %EY -> expected: Ê¿À®21ǯ 1073s # %EY -> actual: Ê¿À®21ǯ 1073s ok 33 /GDateTime/non_utf8_printf 1073s # ???? -> expected: ???? 1073s # ???? -> actual: ???? 1073s # %H?%M -> expected: 23?15 1073s # %H?%M -> actual: 23?15 1073s # %H?%M -> expected: 23?15 1073s # %H?%M -> actual: 23?15 1073s ok 34 /GDateTime/format_unrepresentable 1073s ok 35 /GDateTime/format_iso8601 1073s ok 36 /GDateTime/strftime 1073s # %d -> expected: 01 1073s # %d -> actual: 01 1073s # %_d -> expected: 1 1073s # %_d -> actual: 1 1073s # %-d -> expected: 1 1073s # %-d -> actual: 1 1073s # %0d -> expected: 01 1073s # %0d -> actual: 01 1073s # %d -> expected: 21 1073s # %d -> actual: 21 1073s # %_d -> expected: 21 1073s # %_d -> actual: 21 1073s # %-d -> expected: 21 1073s # %-d -> actual: 21 1073s # %0d -> expected: 21 1073s # %0d -> actual: 21 1073s # %e -> expected:  1 1073s # %e -> actual:  1 1073s # %_e -> expected: 1 1073s # %_e -> actual: 1 1073s # %-e -> expected: 1 1073s # %-e -> actual: 1 1073s # %0e -> expected: 01 1073s # %0e -> actual: 01 1073s # %e -> expected: 21 1073s # %e -> actual: 21 1073s # %_e -> expected: 21 1073s # %_e -> actual: 21 1073s # %-e -> expected: 21 1073s # %-e -> actual: 21 1073s # %0e -> expected: 21 1073s # %0e -> actual: 21 1073s # %a -> expected: Thu 1073s # %a -> actual: Thu 1073s # %^a -> expected: THU 1073s # %^a -> actual: THU 1073s # %#a -> expected: THU 1073s # %#a -> actual: THU 1073s # %A -> expected: Thursday 1073s # %A -> actual: Thursday 1073s # %^A -> expected: THURSDAY 1073s # %^A -> actual: THURSDAY 1073s # %#A -> expected: THURSDAY 1073s # %#A -> actual: THURSDAY 1073s # %b -> expected: Jan 1073s # %b -> actual: Jan 1073s # %^b -> expected: JAN 1073s # %^b -> actual: JAN 1073s # %#b -> expected: JAN 1073s # %#b -> actual: JAN 1073s # %B -> expected: January 1073s # %B -> actual: January 1073s # %^B -> expected: JANUARY 1073s # %^B -> actual: JANUARY 1073s # %#B -> expected: JANUARY 1073s # %#B -> actual: JANUARY 1073s # %h -> expected: Jan 1073s # %h -> actual: Jan 1073s # %^h -> expected: JAN 1073s # %^h -> actual: JAN 1073s # %#h -> expected: JAN 1073s # %#h -> actual: JAN 1073s # %Z -> expected: UTC 1073s # %Z -> actual: UTC 1073s # %^Z -> expected: UTC 1073s # %^Z -> actual: UTC 1073s # %#Z -> expected: utc 1073s # %#Z -> actual: utc 1073s # %H -> expected: 01 1073s # %H -> actual: 01 1073s # %_H -> expected: 1 1073s # %_H -> actual: 1 1073s # %-H -> expected: 1 1073s # %-H -> actual: 1 1073s # %0H -> expected: 01 1073s # %0H -> actual: 01 1073s # %H -> expected: 21 1073s # %H -> actual: 21 1073s # %_H -> expected: 21 1073s # %_H -> actual: 21 1073s # %-H -> expected: 21 1073s # %-H -> actual: 21 1073s # %0H -> expected: 21 1073s # %0H -> actual: 21 1073s # %I -> expected: 01 1073s # %I -> actual: 01 1073s # %_I -> expected: 1 1073s # %_I -> actual: 1 1073s # %-I -> expected: 1 1073s # %-I -> actual: 1 1073s # %0I -> expected: 01 1073s # %0I -> actual: 01 1073s # %I -> expected: 11 1073s # %I -> actual: 11 1073s # %_I -> expected: 11 1073s # %_I -> actual: 11 1073s # %-I -> expected: 11 1073s # %-I -> actual: 11 1073s # %0I -> expected: 11 1073s # %0I -> actual: 11 1073s # %k -> expected:  1 1073s # %k -> actual:  1 1073s # %_k -> expected: 1 1073s # %_k -> actual: 1 1073s # %-k -> expected: 1 1073s # %-k -> actual: 1 1073s # %0k -> expected: 01 1073s # %0k -> actual: 01 1073s # %l -> expected:  1 1073s # %l -> actual:  1 1073s # %_l -> expected: 1 1073s # %_l -> actual: 1 1073s # %-l -> expected: 1 1073s # %-l -> actual: 1 1073s # %0l -> expected: 01 1073s # %0l -> actual: 01 1073s # %l -> expected: 11 1073s # %l -> actual: 11 1073s # %_l -> expected: 11 1073s # %_l -> actual: 11 1073s # %-l -> expected: 11 1073s # %-l -> actual: 11 1073s # %0l -> expected: 11 1073s # %0l -> actual: 11 1073s # %p -> expected: AM 1073s # %p -> actual: AM 1073s # %^p -> expected: AM 1073s # %^p -> actual: AM 1073s # %#p -> expected: am 1073s # %#p -> actual: am 1073s # %P -> expected: am 1073s # %P -> actual: am 1073s # %^P -> expected: AM 1073s # %^P -> actual: AM 1073s # %#P -> expected: am 1073s # %#P -> actual: am 1073s # %OH -> expected: Û²Û³ 1073s # %OH -> actual: Û²Û³ 1073s # %OI -> expected: Û±Û± 1073s # %OI -> actual: Û±Û± 1073s # %OM -> expected: Û°Û° 1073s # %OM -> actual: Û°Û° 1073s # %Om -> expected: Û°Û· 1073s # %Om -> actual: Û°Û· 1073s # %0Om -> expected: Û°Û· 1073s # %0Om -> actual: Û°Û· 1073s # %-Om -> expected: Û· 1073s # %-Om -> actual: Û· 1073s # %_Om -> expected: Û· 1073s # %_Om -> actual: Û· 1073s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1073s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1073s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1073s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1073s # %C -> expected: 20 1073s # %C -> actual: 20 1073s # %EC -> expected: 20 1073s # %EC -> actual: 20 1073s # %x -> expected: 02/01/09 1073s # %x -> actual: 02/01/09 1073s # %Ex -> expected: 02/01/09 1073s # %Ex -> actual: 02/01/09 1073s # %X -> expected: 01:02:03 1073s # %X -> actual: 01:02:03 1073s # %EX -> expected: 01:02:03 1073s # %EX -> actual: 01:02:03 1073s # %y -> expected: 09 1073s # %y -> actual: 09 1073s # %Ey -> expected: 09 1073s # %Ey -> actual: 09 1073s # %Y -> expected: 2009 1073s # %Y -> actual: 2009 1073s # %EY -> expected: 2009 1073s # %EY -> actual: 2009 1073s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1073s # Bug Reference: http://bugzilla.gnome.org/749206 1073s # %B -> expected: January 1073s # %B -> actual: January 1073s # %OB -> expected: February 1073s # %OB -> actual: February 1073s # %b -> expected: Mar 1073s # %b -> actual: Mar 1073s # %Ob -> expected: Apr 1073s # %Ob -> actual: Apr 1073s # %h -> expected: May 1073s # %h -> actual: May 1073s # %Oh -> expected: Jun 1073s # %Oh -> actual: Jun 1073s # %B -> expected: Juli 1073s # %B -> actual: Juli 1073s # %OB -> expected: August 1073s # %OB -> actual: August 1073s # %b -> expected: Sep 1073s # %b -> actual: Sep 1073s # %Ob -> expected: Okt 1073s # %Ob -> actual: Okt 1073s # %h -> expected: Nov 1073s # %h -> actual: Nov 1073s # %Oh -> expected: Dez 1073s # %Oh -> actual: Dez 1073s # %B -> expected: enero 1073s # %B -> actual: enero 1073s # %OB -> expected: febrero 1073s # %OB -> actual: febrero 1073s # %b -> expected: mar 1073s # %b -> actual: mar 1073s # %Ob -> expected: abr 1073s # %Ob -> actual: abr 1073s # %h -> expected: may 1073s # %h -> actual: may 1073s # %Oh -> expected: jun 1073s # %Oh -> actual: jun 1073s # %B -> expected: juillet 1073s # %B -> actual: juillet 1073s # %OB -> expected: août 1073s # %OB -> actual: août 1073s # %b -> expected: sept. 1073s # %b -> actual: sept. 1073s # %Ob -> expected: oct. 1073s # %Ob -> actual: oct. 1073s # %h -> expected: nov. 1073s # %h -> actual: nov. 1073s # %Oh -> expected: déc. 1073s # %Oh -> actual: déc. 1073s # %B -> expected: ΙανουαÏίου 1073s # %B -> actual: ΙανουαÏίου 1073s # %B -> expected: ΦεβÏουαÏίου 1073s # %B -> actual: ΦεβÏουαÏίου 1073s # %B -> expected: ΜαÏτίου 1073s # %B -> actual: ΜαÏτίου 1073s # %OB -> expected: ΑπÏίλιος 1073s # %OB -> actual: ΑπÏίλιος 1073s # %OB -> expected: Μάιος 1073s # %OB -> actual: Μάιος 1073s # %OB -> expected: ΙοÏνιος 1073s # %OB -> actual: ΙοÏνιος 1073s # %b -> expected: Ιουλ 1073s # %b -> actual: Ιουλ 1073s # %Ob -> expected: ΑÏγ 1073s # %Ob -> actual: ΑÏγ 1073s # %B -> expected: svibnja 1073s # %B -> actual: svibnja 1073s # %B -> expected: lipnja 1073s # %B -> actual: lipnja 1073s # %B -> expected: srpnja 1073s # %B -> actual: srpnja 1073s # %OB -> expected: Kolovoz 1073s # %OB -> actual: kolovoz 1073s # %OB -> expected: Rujan 1073s # %OB -> actual: rujan 1073s # %OB -> expected: Listopad 1073s # %OB -> actual: listopad 1073s # %b -> expected: Stu 1073s # %b -> actual: stu 1073s # %Ob -> expected: Pro 1073s # %Ob -> actual: pro 1073s # %B -> expected: sausio 1073s # %B -> actual: sausio 1073s # %B -> expected: vasario 1073s # %B -> actual: vasario 1073s # %B -> expected: kovo 1073s # %B -> actual: kovo 1073s # %OB -> expected: balandis 1073s # %OB -> actual: balandis 1073s # %OB -> expected: gegužė 1073s # %OB -> actual: gegužė 1073s # %OB -> expected: birželis 1073s # %OB -> actual: birželis 1073s # %b -> expected: liep. 1073s # %b -> actual: liep. 1073s # %Ob -> expected: rugp. 1073s # %Ob -> actual: rugp. 1073s # %B -> expected: maja 1073s # %B -> actual: maja 1073s # %B -> expected: czerwca 1073s # %B -> actual: czerwca 1073s # %B -> expected: lipca 1073s # %B -> actual: lipca 1073s # %OB -> expected: sierpieÅ„ 1073s # %OB -> actual: sierpieÅ„ 1073s # %OB -> expected: wrzesieÅ„ 1073s # %OB -> actual: wrzesieÅ„ 1073s # %OB -> expected: październik 1073s # %OB -> actual: październik 1073s # %b -> expected: lis 1073s # %b -> actual: lis 1073s # %Ob -> expected: gru 1073s # %Ob -> actual: gru 1073s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1073s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1073s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1073s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1073s # %B -> expected: марта 1073s # %B -> actual: марта 1073s # %OB -> expected: Ðпрель 1073s # %OB -> actual: Ðпрель 1073s # %OB -> expected: Май 1073s # %OB -> actual: Май 1073s # %OB -> expected: Июнь 1073s # %OB -> actual: Июнь 1073s # %b -> expected: июл 1073s # %b -> actual: июл 1073s # %Ob -> expected: авг 1073s # %Ob -> actual: авг 1073s # %b -> expected: Ð¼Ð°Ñ 1073s # %b -> actual: Ð¼Ð°Ñ 1073s # %Ob -> expected: май 1073s # %Ob -> actual: май 1073s ok 38 /GDateTime/month_names 1073s ok 39 /GDateTime/to_local 1073s ok 40 /GDateTime/to_unix 1073s ok 41 /GDateTime/to_timeval 1073s ok 42 /GDateTime/to_utc 1073s ok 43 /GDateTime/now_utc 1073s ok 44 /GDateTime/dst 1073s # Bug Reference: http://bugzilla.gnome.org/642935 1073s ok 45 /GDateTime/test_z 1074s # Executing: glib/gdatetime.test 1074s ok 46 /GDateTime/test-all-dates 1074s # slow test /GDateTime/test-all-dates executed in 1.42 secs 1074s ok 47 /GDateTime/unix_usec 1074s # Start of new_from_unix tests 1074s # Bug Reference: http://bugzilla.gnome.org/782089 1074s ok 48 /GDateTime/new_from_unix/overflow 1074s # End of new_from_unix tests 1074s # Start of new_from_timeval tests 1074s # Bug Reference: http://bugzilla.gnome.org/782089 1074s # Maximum supported GTimeVal.tv_sec = 253402300799 1074s ok 49 /GDateTime/new_from_timeval/overflow 1074s # End of new_from_timeval tests 1074s # Start of new_from_iso8601 tests 1074s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1074s # Vector 0: 1990-11-01T10:21:17Z 1074s # Vector 1: 19901101T102117Z 1074s # Vector 2: 1970-01-01T00:00:17.12Z 1074s # Vector 3: 1970-01-01T00:00:17.1234Z 1074s # Vector 4: 1970-01-01T00:00:17.123456Z 1074s # Vector 5: 1980-02-22T12:36:00+02:00 1074s # Vector 6: 1990-12-31T15:59:60-08:00 1074s # Vector 7: 1074s # Vector 8: x 1074s # Vector 9: 123x 1074s # Vector 10: 2001-10+x 1074s # Vector 11: 1980-02-22T 1074s # Vector 12: 2001-10-08Tx 1074s # Vector 13: 2001-10-08T10:11x 1074s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1074s # Vector 15: 1980-02-22T10:36:00Zulu 1074s # Vector 16: 2T0+819855292164632335 1074s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1074s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1074s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1074s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1074s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1074s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1074s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1074s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1074s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1074s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1074s # Vector 27: 20180803T140805.446178377+0100 1074s # Vector 28: 21474836480803T140805.446178377+0100 1074s # Vector 29: 20181303T140805.446178377+0100 1074s # Vector 30: 20180003T140805.446178377+0100 1074s # Vector 31: 20180800T140805.446178377+0100 1074s # Vector 32: 20180832T140805.446178377+0100 1074s # Vector 33: 20180803T240805.446178377+0100 1074s # Vector 34: 20180803T146005.446178377+0100 1074s # Vector 35: 20180803T140863.446178377+0100 1074s # Vector 36: 20180803T140805.446178377+10000 1074s # Vector 37: -0005-01-01T00:00:00Z 1074s # Vector 38: 2018-08-06 1074s # Vector 39: 20180803T140805,446178377+0100 1074s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1074s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1074s # Vector 42: 1990-11-01T10:21:17 1074s # Vector 43: 1719W462 407777-07 1074s # Vector 44: 4011090 260528Z 1074s # Vector 45: 0000W011 228214-22 1074s ok 50 /GDateTime/new_from_iso8601/2 1074s # End of new_from_iso8601 tests 1074s # Start of format_mixed tests 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1074s # %b -> expected: mar 1074s # %b -> actual: Mar 1074s # %B -> expected: march 1074s # %B -> actual: March 1074s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1074s # %b -> expected: mar 1074s # %b -> actual: Mar 1074s # %B -> expected: march 1074s # %B -> actual: March 1074s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1074s # %b -> expected: Mär 1074s # %b -> actual: Mär 1074s # %B -> expected: März 1074s # %B -> actual: März 1074s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1074s # %b -> expected: Mär 1074s # %b -> actual: Mär 1074s # %B -> expected: März 1074s # %B -> actual: März 1074s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1074s # End of format_mixed tests 1074s # Start of strftime tests 1074s # %r -> expected: (null) 1074s # %r -> actual: (null) 1074s ok 55 /GDateTime/strftime/error_handling 1074s # End of strftime tests 1074s # Start of eras tests 1074s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1074s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1074s # %EC -> expected: 令和 1074s # %EC -> actual: 令和 1074s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1074s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1074s # %EX -> expected: 00時00分00秒 1074s # %EX -> actual: 00時00分00秒 1074s # %Ey -> expected: 05 1074s # %Ey -> actual: 05 1074s # %EY -> expected: 令和05å¹´ 1074s # %EY -> actual: 令和05å¹´ 1074s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1074s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1074s # %EC -> expected: å¹³æˆ 1074s # %EC -> actual: å¹³æˆ 1074s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1074s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1074s # %EX -> expected: 00時00分00秒 1074s # %EX -> actual: 00時00分00秒 1074s # %Ey -> expected: 31 1074s # %Ey -> actual: 31 1074s # %EY -> expected: å¹³æˆ31å¹´ 1074s # %EY -> actual: å¹³æˆ31å¹´ 1074s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1074s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1074s # %EC -> expected: 昭和 1074s # %EC -> actual: 昭和 1074s # %Ex -> expected: 昭和元年12月25æ—¥ 1074s # %Ex -> actual: 昭和元年12月25æ—¥ 1074s # %EX -> expected: 00時00分00秒 1074s # %EX -> actual: 00時00分00秒 1074s # %Ey -> expected: 01 1074s # %Ey -> actual: 01 1074s # %EY -> expected: 昭和元年 1074s # %EY -> actual: 昭和元年 1074s ok 56 /GDateTime/eras/japan 1074s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1074s # Vector 0: 1074s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1074s # Vector 2: +:2:2020/01/01:+*:令和:%EC%Eyå¹´;+:1:2019/05/01:2019/12/31:令和:%EC元年;+:2:1990/01/01:2019/04/30:å¹³æˆ:%EC%Eyå¹´;+:1:1989/01/08:1989/12/31:å¹³æˆ:%EC元年;+:2:1927/01/01:1989/01/07:昭和:%EC%Eyå¹´;+:1:1926/12/25:1926/12/31:昭和:%EC元年;+:2:1913/01/01:1926/12/24:大正:%EC%Eyå¹´;+:1:1912/07/30:1912/12/31:大正:%EC元年;+:6:1873/01/01:1912/07/29:明治:%EC%Eyå¹´;+:1:0001/01/01:1872/12/31:西暦:%EC%Eyå¹´;+:1:-0001/12/31:-*:紀元å‰:%EC%Eyå¹´ 1074s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1074s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1074s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 8: + 1074s # Vector 9: +: 1074s # Vector 10: +:: 1074s # Vector 11: +:200 1074s # Vector 12: +:2nonsense 1074s # Vector 13: +:2nonsense: 1074s # Vector 14: +:2: 1074s # Vector 15: +:2:: 1074s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1074s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1074s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1074s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1074s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1074s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1074s # Vector 28: +:2:2020/01/01 1074s # Vector 29: +:2:2020/01/01: 1074s # Vector 30: +:2:2020/01/01:: 1074s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1074s # Vector 32: +:2:2020/01/01:+* 1074s # Vector 33: +:2:2020/01/01:+*: 1074s # Vector 34: +:2:2020/01/01:+*:: 1074s # Vector 35: +:2:2020/01/01:+*:令和 1074s # Vector 36: +:2:2020/01/01:+*:令和: 1074s # Vector 37: +:2:2020/01/01:+*:令和:; 1074s ok 58 /GDateTime/eras/parsing 1074s # End of eras tests 1074s # End of GDateTime tests 1074s # Start of GTimeZone tests 1074s ok 59 /GTimeZone/find-interval 1074s ok 60 /GTimeZone/adjust-time 1074s ok 61 /GTimeZone/no-header 1074s ok 62 /GTimeZone/no-header-identifier 1074s ok 63 /GTimeZone/posix-parse 1074s # Bug Reference: http://bugzilla.gnome.org/697715 1074s ok 64 /GTimeZone/floating-point 1074s # System time zone identifier: Etc/UTC 1074s ok 65 /GTimeZone/identifier 1074s # Vector 0: -158400 1074s # Vector 1: -10000 1074s # Vector 2: -3600 1074s # Vector 3: -61 1074s # Vector 4: -60 1074s # Vector 5: -59 1074s # Vector 6: 0 1074s # Vector 7: 59 1074s # Vector 8: 60 1074s # Vector 9: 61 1074s # Vector 10: 3600 1074s # Vector 11: 10000 1074s # Vector 12: 158400 1074s ok 66 /GTimeZone/new-offset 1074s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1074s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1074s ok 67 /GTimeZone/parse-rfc8536 1074s # /GTimeZone/caching summary: GTimeZone instances are cached 1074s ok 68 /GTimeZone/caching 1074s # End of GTimeZone tests 1074s ok - glib/gdatetime.test 1074s # Running test: glib/strvbuilder.test 1074s TAP version 14 1074s # random seed: R02S995ee77ba4c60a1f216e20103ef8dbfd 1074s 1..7 1074s # Start of strvbuilder tests 1074s ok 1 /strvbuilder/empty 1074s ok 2 /strvbuilder/add 1074s ok 3 /strvbuilder/addv 1074s ok 4 /strvbuilder/add_many 1074s ok 5 /strvbuilder/take 1074s ok 6 /strvbuilder/ref 1074s ok 7 /strvbuilder/unref_to_strv 1074s # End of strvbuilder tests 1074s ok - glib/strvbuilder.test 1074s # Running test: glib/gdbus-method-invocation.test 1074s TAP version 14 1074s # random seed: R02S0f7b974e76819d70c22f3c02b0875226 1074s 1..1 1074s # Start of gdbus tests 1074s # Start of method-invocation tests 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_NI2L02/gdbus/method-invocation/return/.dirs/runtime 1074s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1074s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1074s # Calling org.freedesktop.DBus.Properties.Get 1074s # Calling org.freedesktop.DBus.Properties.Get 1074s # Calling org.freedesktop.DBus.Properties.Get 1074s # Calling org.freedesktop.DBus.Properties.Set 1074s # Calling org.freedesktop.DBus.Properties.GetAll 1074s # Calling org.example.Foo.WrongReturnType 1074s # Calling org.example.Foo.GetFDs 1074s # Calling org.example.Foo.GetFDs 1074s # Calling org.example.Foo.ReturnError 1074s # Calling org.example.Foo.CloseBeforeReturning 1074s ok 1 /gdbus/method-invocation/return 1074s # End of method-invocation tests 1074s # End of gdbus tests 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1074s ok - glib/gdbus-method-invocation.test 1074s # Running test: glib/unix-fd.test 1074s TAP version 14 1074s # random seed: R02S772725df7555ca4b4909d43b58adbefe 1074s 1..2 1074s # Start of unix-fd tests 1074s ok 1 /unix-fd/fd-list 1074s ok 2 /unix-fd/scm 1074s # End of unix-fd tests 1074s ok - glib/unix-fd.test 1074s # Running test: glib/power-profile-monitor-dbus.test 1075s TAP version 13 1075s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1075s 1..1 1075s ok - glib/power-profile-monitor-dbus.test 1075s # Running test: glib/cancellable.test 1075s TAP version 14 1075s # random seed: R02S74404a9ce9ccf16ceb3d33257c5eb437 1075s 1..10 1075s # Start of cancellable tests 1075s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1075s ok 2 /cancellable/null 1075s # /cancellable/disconnect-on-cancelled-callback-hangs summary: Tests that trying to disconnect a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 1075s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1075s # /cancellable/resets-on-cancel-callback-hangs summary: Tests that trying to reset a cancellable from the cancelled signal callback will result in a deadlock as per #GCancellable::cancelled 1075s ok 4 /cancellable/resets-on-cancel-callback-hangs 1075s ok 5 /cancellable/poll-fd 1075s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1075s ok 6 /cancellable/poll-fd-cancelled 1075s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1075s ok 7 /cancellable/poll-fd-cancelled-threaded 1075s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1075s ok 8 /cancellable/cancel-reset-races 1075s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1075s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1075s # End of cancellable tests 1075s # Start of cancellable-source tests 1075s # /cancellable-source/threaded-dispose summary: Test a thread race between disposing of a GCancellableSource (in one thread) and cancelling the GCancellable it refers to (in another thread) 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1076s ok 10 /cancellable-source/threaded-dispose 1076s # slow test /cancellable-source/threaded-dispose executed in 1.00 secs 1076s # End of cancellable-source tests 1076s ok - glib/cancellable.test 1076s # Running test: glib/value.test 1076s TAP version 14 1076s # random seed: R02S719ccb52e8f19f10e8d82856b5d02159 1076s 1..9 1076s # Start of value tests 1076s ok 1 /value/basic 1076s ok 2 /value/collection 1076s ok 3 /value/copying 1076s ok 4 /value/enum-transformation 1076s ok 5 /value/gtype 1076s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1076s ok 6 /value/string 1076s # Next: GObject object in GValue of GObject to GValue of GObject 1076s # Next: GObject object in GValue of GObject to GValue of TestInterface 1076s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1076s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1076s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1076s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1076s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1076s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1076s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1076s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1076s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1076s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1076s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1076s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1076s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1076s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1076s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1076s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1076s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1076s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1076s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1076s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1076s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1076s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1076s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1076s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1076s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1076s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1076s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1076s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1076s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1076s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1076s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1076s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1076s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1076s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1076s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1076s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1076s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1076s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1076s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1076s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1076s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1076s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1076s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1076s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1076s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1076s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1076s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1076s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1076s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1076s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1076s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1076s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1076s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1076s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1076s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1076s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1076s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1076s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1076s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1076s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1076s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1076s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1076s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1076s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1076s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1076s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1076s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1076s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1076s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1076s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1076s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1076s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1076s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1076s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1076s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1076s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1076s ok 7 /value/transform-object 1076s # Start of array tests 1076s ok 8 /value/array/basic 1076s ok 9 /value/array/sort-with-data 1076s # End of array tests 1076s # End of value tests 1076s ok - glib/value.test 1076s # Running test: glib/convert.test 1076s TAP version 14 1076s # random seed: R02Saaea42f94e061f145c6051f883a20799 1076s 1..14 1076s # Start of conversion tests 1076s ok 1 /conversion/no-conv 1076s ok 2 /conversion/iconv-state 1076s ok 3 /conversion/illegal-sequence 1076s ok 4 /conversion/byte-order 1076s ok 5 /conversion/unicode 1076s ok 6 /conversion/filename-utf8 1076s ok 7 /conversion/filename-display 1076s ok 8 /conversion/convert-embedded-nul 1076s # Start of locale-to-utf8 tests 1076s ok 9 /conversion/locale-to-utf8/embedded-nul 1076s # Start of embedded-nul tests 1076s # Start of subprocess tests 1076s # End of subprocess tests 1076s # End of embedded-nul tests 1076s # End of locale-to-utf8 tests 1076s # Start of locale-from-utf8 tests 1076s ok 10 /conversion/locale-from-utf8/embedded-nul 1076s # Start of embedded-nul tests 1076s # Start of subprocess tests 1076s # End of subprocess tests 1076s # End of embedded-nul tests 1076s # End of locale-from-utf8 tests 1076s # Start of filename-to-utf8 tests 1076s ok 11 /conversion/filename-to-utf8/embedded-nul 1076s # Start of embedded-nul tests 1076s # Start of subprocess tests 1076s # End of subprocess tests 1076s # End of embedded-nul tests 1076s # End of filename-to-utf8 tests 1076s # Start of filename-from-utf8 tests 1076s ok 12 /conversion/filename-from-utf8/embedded-nul 1076s # Start of embedded-nul tests 1076s # Start of subprocess tests 1076s # End of subprocess tests 1076s # End of embedded-nul tests 1076s # End of filename-from-utf8 tests 1076s # Start of filename-from-uri tests 1076s ok 13 /conversion/filename-from-uri/query-is-ignored 1076s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1076s # End of filename-from-uri tests 1076s # End of conversion tests 1076s ok - glib/convert.test 1076s # Running test: glib/markup-escape.test 1076s TAP version 14 1076s # random seed: R02S109fb41178fec95c9b00a75b22daf920 1076s 1..41 1076s # Start of markup tests 1076s ok 1 /markup/format 1076s # Start of escape-text tests 1076s ok 2 /markup/escape-text/0 1076s ok 3 /markup/escape-text/1 1076s ok 4 /markup/escape-text/2 1076s ok 5 /markup/escape-text/3 1076s ok 6 /markup/escape-text/4 1076s ok 7 /markup/escape-text/5 1076s ok 8 /markup/escape-text/6 1076s ok 9 /markup/escape-text/7 1076s ok 10 /markup/escape-text/8 1076s ok 11 /markup/escape-text/9 1076s ok 12 /markup/escape-text/10 1076s ok 13 /markup/escape-text/11 1076s ok 14 /markup/escape-text/12 1076s ok 15 /markup/escape-text/13 1076s ok 16 /markup/escape-text/14 1076s ok 17 /markup/escape-text/15 1076s ok 18 /markup/escape-text/16 1076s ok 19 /markup/escape-text/17 1076s ok 20 /markup/escape-text/18 1076s ok 21 /markup/escape-text/19 1076s ok 22 /markup/escape-text/20 1076s ok 23 /markup/escape-text/21 1076s ok 24 /markup/escape-text/22 1076s # End of escape-text tests 1076s # Start of escape-unichar tests 1076s ok 25 /markup/escape-unichar/0 1076s ok 26 /markup/escape-unichar/1 1076s ok 27 /markup/escape-unichar/2 1076s ok 28 /markup/escape-unichar/3 1076s ok 29 /markup/escape-unichar/4 1076s ok 30 /markup/escape-unichar/5 1076s ok 31 /markup/escape-unichar/6 1076s ok 32 /markup/escape-unichar/7 1076s ok 33 /markup/escape-unichar/8 1076s ok 34 /markup/escape-unichar/9 1076s ok 35 /markup/escape-unichar/10 1076s ok 36 /markup/escape-unichar/11 1076s ok 37 /markup/escape-unichar/12 1076s ok 38 /markup/escape-unichar/13 1076s ok 39 /markup/escape-unichar/14 1076s ok 40 /markup/escape-unichar/15 1076s ok 41 /markup/escape-unichar/16 1076s # End of escape-unichar tests 1076s # End of markup tests 1076s ok - glib/markup-escape.test 1076s # Running test: glib/portal-support-flatpak-none.test 1076s TAP version 14 1076s # random seed: R02S115b8abf307f607696da6a9c8cde2b7c 1076s 1..1 1076s # Start of portal-support tests 1076s # Start of flatpak tests 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/runtime 1076s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_58DO02/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1076s ok 1 /portal-support/flatpak/none 1076s # End of flatpak tests 1076s # End of portal-support tests 1076s ok - glib/portal-support-flatpak-none.test 1076s # Running test: glib/mount-operation.test 1076s TAP version 14 1076s # random seed: R02Sc195504ccf0d00d3298abc6c9a9ef0f0 1076s 1..2 1076s # Start of mount-operation tests 1076s ok 1 /mount-operation/construction 1076s ok 2 /mount-operation/properties 1076s # End of mount-operation tests 1076s ok - glib/mount-operation.test 1076s # Running test: glib/trash.test 1076s TAP version 14 1076s # random seed: R02S45972191cd4ff9baae989b811af79b42 1076s 1..3 1076s # Start of trash tests 1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1076s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1076s # File: /tmp/test-trash2PKO02 (parent st_dev: 64769) 1076s # Home: /home/ubuntu (st_dev: 64769) 1076s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1076s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1076s ok 3 /trash/long-filename 1076s # End of trash tests 1076s ok - glib/trash.test 1076s # Running test: glib/include.test 1076s TAP version 14 1076s # random seed: R02S1d1b912d71ad2bebc80e50c0e89dc77e 1076s 1..1 1076s # Start of include tests 1076s ok 1 /include/rwlock 1076s # End of include tests 1076s ok - glib/include.test 1076s # Running test: glib/fileattributematcher.test 1076s TAP version 14 1076s # random seed: R02S1c460d6bab0e0c8602e8a3612d0c2579 1076s 1..3 1076s # Start of fileattributematcher tests 1076s ok 1 /fileattributematcher/exact 1076s ok 2 /fileattributematcher/equality 1076s ok 3 /fileattributematcher/subtract 1076s # End of fileattributematcher tests 1076s ok - glib/fileattributematcher.test 1076s # Running test: glib/gvariant.test 1076s TAP version 14 1076s # random seed: R02Se746944f0293cdd544cbd02c784eb884 1076s 1..64 1076s # Start of gvariant tests 1076s ok 1 /gvariant/type 1076s ok 2 /gvariant/typeinfo 1076s ok 3 /gvariant/string 1076s ok 4 /gvariant/utf8 1077s ok 5 /gvariant/containers 1077s ok 6 /gvariant/format-strings 1077s ok 7 /gvariant/invalid-varargs 1077s ok 8 /gvariant/varargs 1077s ok 9 /gvariant/valist 1077s ok 10 /gvariant/builder-memory 1077s ok 11 /gvariant/hashing 1077s ok 12 /gvariant/byteswap 1078s ok 13 /gvariant/parser 1078s ok 14 /gvariant/parse-failures 1078s ok 15 /gvariant/parse-positional 1078s ok 16 /gvariant/floating 1078s ok 17 /gvariant/bytestring 1078s ok 18 /gvariant/lookup-value 1078s ok 19 /gvariant/lookup 1078s ok 20 /gvariant/compare 1078s ok 21 /gvariant/equal 1078s ok 22 /gvariant/fixed-array 1078s ok 23 /gvariant/check-format-string 1078s ok 24 /gvariant/checksum-basic 1078s ok 25 /gvariant/checksum-nested 1078s ok 26 /gvariant/gbytes 1078s ok 27 /gvariant/print-context 1078s ok 28 /gvariant/error-quark 1078s ok 29 /gvariant/stack-builder-init 1078s ok 30 /gvariant/stack-dict-init 1078s ok 31 /gvariant/unaligned-construction 1078s # Start of type tests 1078s # Start of string-scan tests 1078s # Start of recursion tests 1078s ok 32 /gvariant/type/string-scan/recursion/tuple 1078s ok 33 /gvariant/type/string-scan/recursion/array 1078s # End of recursion tests 1078s # End of string-scan tests 1078s # End of type tests 1078s # Start of serialiser tests 1078s ok 34 /gvariant/serialiser/maybe 1078s ok 35 /gvariant/serialiser/array 1078s ok 36 /gvariant/serialiser/tuple 1078s ok 37 /gvariant/serialiser/variant 1078s ok 38 /gvariant/serialiser/strings 1079s # Executing: glib/gvariant.test 1080s ok 39 /gvariant/serialiser/byteswap 1080s # slow test /gvariant/serialiser/byteswap executed in 1.45 secs 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1080s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1080s ok 40 /gvariant/serialiser/children 1080s # Start of fuzz tests 1080s ok 41 /gvariant/serialiser/fuzz/1% 1080s # slow test /gvariant/serialiser/fuzz/1% executed in 0.52 secs 1081s ok 42 /gvariant/serialiser/fuzz/5% 1081s # slow test /gvariant/serialiser/fuzz/5% executed in 1.18 secs 1083s ok 43 /gvariant/serialiser/fuzz/9% 1083s # slow test /gvariant/serialiser/fuzz/9% executed in 1.75 secs 1084s # Executing: glib/gvariant.test 1084s ok 44 /gvariant/serialiser/fuzz/13% 1084s # slow test /gvariant/serialiser/fuzz/13% executed in 1.01 secs 1085s ok 45 /gvariant/serialiser/fuzz/17% 1085s # slow test /gvariant/serialiser/fuzz/17% executed in 0.60 secs 1085s # End of fuzz tests 1085s # End of serialiser tests 1085s # Start of varargs tests 1085s # Start of subprocess tests 1085s # End of subprocess tests 1085s # End of varargs tests 1085s # Start of byteswap tests 1085s # /gvariant/byteswap/non-normal-non-aligned summary: Test that calling g_variant_byteswap() on a variant which is in non-normal form and doesn?t need byteswapping returns the same variant in normal form. 1085s ok 46 /gvariant/byteswap/non-normal-non-aligned 1085s # End of byteswap tests 1085s # Start of parser tests 1085s ok 47 /gvariant/parser/integer-bounds 1085s ok 48 /gvariant/parser/recursion 1085s # Start of recursion tests 1085s ok 49 /gvariant/parser/recursion/typedecls 1085s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1085s # Text form 0: @mmmu 5 1085s # Text form 1: @mmmas ['hello'] 1085s # Text form 2: @mmmu just just nothing 1085s # Text form 3: @mmmas just just nothing 1085s # Text form 4: @mmmu just nothing 1085s # Text form 5: @mmmas just nothing 1085s # Text form 6: @mmmu nothing 1085s # Text form 7: @mmmas nothing 1085s ok 50 /gvariant/parser/recursion/maybes 1085s # End of recursion tests 1085s # End of parser tests 1085s # Start of parse tests 1085s # Start of subprocess tests 1085s # End of subprocess tests 1085s # End of parse tests 1085s # Start of normal-checking tests 1085s ok 51 /gvariant/normal-checking/tuples 1085s ok 52 /gvariant/normal-checking/array-offsets 1085s ok 53 /gvariant/normal-checking/array-offsets2 1085s ok 54 /gvariant/normal-checking/tuple-offsets 1085s ok 55 /gvariant/normal-checking/tuple-offsets2 1085s ok 56 /gvariant/normal-checking/tuple-offsets3 1085s ok 57 /gvariant/normal-checking/tuple-offsets4 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1085s ok 58 /gvariant/normal-checking/tuple-offsets5 1085s ok 59 /gvariant/normal-checking/empty-object-path 1085s # Start of array-offsets tests 1085s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1085s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1085s # End of array-offsets tests 1085s # Start of tuple-offsets tests 1085s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1085s # End of tuple-offsets tests 1085s # End of normal-checking tests 1085s # Start of recursion-limits tests 1085s ok 63 /gvariant/recursion-limits/variant-in-variant 1085s ok 64 /gvariant/recursion-limits/array-in-variant 1085s # End of recursion-limits tests 1085s # End of gvariant tests 1085s ok - glib/gvariant.test 1085s # Running test: glib/gdbus-connection-loss.test 1085s TAP version 14 1085s # random seed: R02Sf45894fbe22a5a79b108ecc62fdcd47a 1085s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1085s 1..1 1085s # Start of gdbus tests 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_7W8A02/gdbus/connection-loss/.dirs/runtime 1085s ok 1 /gdbus/connection-loss 1085s # End of gdbus tests 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s ok - glib/gdbus-connection-loss.test 1085s # Running test: glib/spawn-path-search.test 1085s TAP version 14 1085s # random seed: R02Sfe800a60aab8f872d8b922bbf3f0aed6 1085s 1..7 1085s # Start of spawn tests 1085s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1085s # 1085s # this is spawn-test-helper from glib/tests 1085s # 1085s ok 1 /spawn/do-not-search 1085s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1085s # 1085s # this is spawn-test-helper from path-test-subdir 1085s # 1085s ok 2 /spawn/search-path 1085s # /spawn/search-path-from-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP, spawn-test-helper means $PATH/spawn-test-helper with $PATH from envp. 1085s # 1085s # this is spawn-test-helper from path-test-subdir 1085s # 1085s ok 3 /spawn/search-path-from-envp 1085s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1085s # 1085s # this is spawn-test-helper from path-test-subdir 1085s # 1085s ok 4 /spawn/search-path-ambiguous 1085s # 1085s # this is spawn-test-helper from path-test-subdir 1085s # 1085s ok 5 /spawn/search-path-heap-allocation 1085s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1085s # 1085s # this is spawn-test-helper from glib/tests 1085s # 1085s ok 6 /spawn/search-path-fallback-in-environ 1085s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1085s # 1085s # this is spawn-test-helper from glib/tests 1085s # 1085s ok 7 /spawn/search-path-fallback-in-envp 1085s # End of spawn tests 1085s ok - glib/spawn-path-search.test 1085s # Running test: glib/network-monitor.test 1085s TAP version 14 1085s # random seed: R02Sff4cf81d5942ae87b1722b2363a2f5b7 1085s 1..4 1085s # Start of network-monitor tests 1085s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1085s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1085s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1085s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1085s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1085s ok 1 /network-monitor/default 1085s ok 2 /network-monitor/remove_default 1085s ok 3 /network-monitor/add_networks 1085s ok 4 /network-monitor/remove_networks 1085s # End of network-monitor tests 1085s ok - glib/network-monitor.test 1085s # Running test: glib/g-icon.test 1085s TAP version 14 1085s # random seed: R02S9a0f95a1f0965c9e281cb9af163ae5d9 1085s 1..6 1085s # Start of icons tests 1085s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1085s ok 1 /icons/to-string 1085s ok 2 /icons/serialize 1085s ok 3 /icons/themed 1085s ok 4 /icons/emblemed 1085s ok 5 /icons/file 1085s ok 6 /icons/bytes 1085s # End of icons tests 1085s ok - glib/g-icon.test 1085s # Running test: glib/gdbus-bz627724.test 1085s TAP version 14 1085s # random seed: R02Saedd016b28870395148dbd6739d21620 1085s 1..1 1085s # Start of gdbus tests 1085s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/home 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/cache 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/system-config2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/config 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/system-data2 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/data 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/state 1085s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_1HK8Z2/gdbus/bz627724/.dirs/runtime 1085s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1085s ok 1 /gdbus/bz627724 1085s # End of gdbus tests 1085s ok - glib/gdbus-bz627724.test 1085s # Running test: glib/spawn-test.test 1085s TAP version 14 1085s # random seed: R02S647167d548c22727626014640ed202e3 1085s 1..2 1085s # Start of spawn tests 1085s ok 1 /spawn/basics 1085s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1085s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1085s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1085s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1085s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1085s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1085s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1085s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1085s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1085s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1085s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1085s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1085s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1085s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1085s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1085s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1085s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1085s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1085s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1085s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1085s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1085s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1085s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1085s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1085s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1085s # Fetching GSpawn result with stdin open, stdout open, stderr open 1085s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1085s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1085s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1085s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1085s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1085s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1085s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1085s ok 2 /spawn/stdio-overwrite 1085s # End of spawn tests 1085s ok - glib/spawn-test.test 1085s # Running test: glib/timer.test 1085s TAP version 14 1085s # random seed: R02S408808c2ada12fcef17414ef4eb1861b 1085s 1..10 1085s # Start of timer tests 1085s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1085s ok 2 /timer/stop 1085s ok 3 /timer/continue 1085s ok 4 /timer/reset 1085s ok 5 /timer/is_active 1085s # End of timer tests 1085s # Start of timeval tests 1085s ok 6 /timeval/add 1085s ok 7 /timeval/from-iso8601 1085s ok 8 /timeval/to-iso8601 1085s # Start of to-iso8601 tests 1085s ok 9 /timeval/to-iso8601/overflow 1085s # End of to-iso8601 tests 1085s # End of timeval tests 1085s # Start of usleep tests 1085s ok 10 /usleep/with-zero-wait 1085s # End of usleep tests 1085s ok - glib/timer.test 1085s # Running test: glib/gutils-user-database.test 1085s TAP version 14 1085s # random seed: R02Sd02b532463f550b35f84cbcea22db94b 1085s 1..1 1085s # Start of gutils tests 1085s ok 1 /gutils/get_user_database_entry 1085s # End of gutils tests 1085s ok - glib/gutils-user-database.test 1085s # Running test: glib/pattern.test 1085s TAP version 14 1085s # random seed: R02S774d746e08b71b2b9f322e05df80d7e7 1085s 1..90 1085s # Start of pattern tests 1085s # Start of compile tests 1085s ok 1 /pattern/compile/0 1085s ok 2 /pattern/compile/1 1085s ok 3 /pattern/compile/2 1085s ok 4 /pattern/compile/3 1085s ok 5 /pattern/compile/4 1085s ok 6 /pattern/compile/5 1085s ok 7 /pattern/compile/6 1085s ok 8 /pattern/compile/7 1085s ok 9 /pattern/compile/8 1085s ok 10 /pattern/compile/9 1085s ok 11 /pattern/compile/10 1085s ok 12 /pattern/compile/11 1085s ok 13 /pattern/compile/12 1085s ok 14 /pattern/compile/13 1085s # End of compile tests 1085s # Start of copy tests 1085s ok 15 /pattern/copy/0 1085s ok 16 /pattern/copy/1 1085s ok 17 /pattern/copy/2 1085s ok 18 /pattern/copy/3 1085s ok 19 /pattern/copy/4 1085s ok 20 /pattern/copy/5 1085s ok 21 /pattern/copy/6 1085s ok 22 /pattern/copy/7 1085s ok 23 /pattern/copy/8 1085s ok 24 /pattern/copy/9 1085s ok 25 /pattern/copy/10 1085s ok 26 /pattern/copy/11 1085s ok 27 /pattern/copy/12 1085s ok 28 /pattern/copy/13 1085s # End of copy tests 1085s # Start of match tests 1085s ok 29 /pattern/match/0 1085s ok 30 /pattern/match/1 1085s ok 31 /pattern/match/2 1085s ok 32 /pattern/match/3 1085s ok 33 /pattern/match/4 1085s ok 34 /pattern/match/5 1085s ok 35 /pattern/match/6 1085s ok 36 /pattern/match/7 1085s ok 37 /pattern/match/8 1085s ok 38 /pattern/match/9 1085s ok 39 /pattern/match/10 1085s ok 40 /pattern/match/11 1085s ok 41 /pattern/match/12 1085s ok 42 /pattern/match/13 1085s ok 43 /pattern/match/14 1085s ok 44 /pattern/match/15 1085s ok 45 /pattern/match/16 1085s ok 46 /pattern/match/17 1085s ok 47 /pattern/match/18 1085s ok 48 /pattern/match/19 1085s ok 49 /pattern/match/20 1085s ok 50 /pattern/match/21 1085s ok 51 /pattern/match/22 1085s ok 52 /pattern/match/23 1085s ok 53 /pattern/match/24 1085s ok 54 /pattern/match/25 1085s ok 55 /pattern/match/26 1085s ok 56 /pattern/match/27 1085s ok 57 /pattern/match/28 1085s ok 58 /pattern/match/29 1085s ok 59 /pattern/match/30 1085s ok 60 /pattern/match/31 1085s ok 61 /pattern/match/32 1085s ok 62 /pattern/match/33 1085s ok 63 /pattern/match/34 1085s ok 64 /pattern/match/35 1085s ok 65 /pattern/match/36 1085s ok 66 /pattern/match/37 1085s ok 67 /pattern/match/38 1085s ok 68 /pattern/match/39 1085s ok 69 /pattern/match/40 1085s ok 70 /pattern/match/41 1085s ok 71 /pattern/match/42 1085s ok 72 /pattern/match/43 1085s ok 73 /pattern/match/44 1085s ok 74 /pattern/match/45 1085s ok 75 /pattern/match/46 1085s ok 76 /pattern/match/47 1085s ok 77 /pattern/match/48 1085s ok 78 /pattern/match/49 1085s ok 79 /pattern/match/50 1085s # End of match tests 1085s # Start of equal tests 1085s ok 80 /pattern/equal/0 1085s ok 81 /pattern/equal/1 1085s ok 82 /pattern/equal/2 1085s ok 83 /pattern/equal/3 1085s ok 84 /pattern/equal/4 1085s ok 85 /pattern/equal/5 1085s ok 86 /pattern/equal/6 1085s ok 87 /pattern/equal/7 1085s ok 88 /pattern/equal/8 1085s ok 89 /pattern/equal/9 1085s ok 90 /pattern/equal/10 1085s # End of equal tests 1085s # End of pattern tests 1085s ok - glib/pattern.test 1085s # Running test: glib/signals-refcount1.test 1085s TAP version 14 1085s # random seed: R02S2b473cc74902838080bebadb8eb38bb5 1085s 1..1 1085s # Start of gobject tests 1085s # Start of refcount tests 1085s # init 0x104559d1f420 1085s # 1085s # init 0x104559d1f5c0 1085s # 1089s # Executing: glib/signals-refcount1.test 1090s # dispose 0x104559d1f420! 1090s # 1090s # dispose 0x104559d1f5c0! 1090s # 1090s ok 1 /gobject/refcount/signals 1090s # slow test /gobject/refcount/signals executed in 5.00 secs 1090s # End of refcount tests 1090s # End of gobject tests 1090s ok - glib/signals-refcount1.test 1090s # Running test: glib/rwlock.test 1090s TAP version 14 1090s # random seed: R02S682d59668c6cf0b9c861a46cea2cb393 1090s 1..8 1090s # Start of thread tests 1090s ok 1 /thread/rwlock1 1090s ok 2 /thread/rwlock2 1090s ok 3 /thread/rwlock3 1090s ok 4 /thread/rwlock4 1090s ok 5 /thread/rwlock5 1090s ok 6 /thread/rwlock6 1094s # Executing: glib/rwlock.test 1096s ok 7 /thread/rwlock7 1096s # slow test /thread/rwlock7 executed in 5.55 secs 1096s ok 8 /thread/rwlock8 1096s # End of thread tests 1096s ok - glib/rwlock.test 1096s # Running test: glib/gdbus-connection-slow.test 1096s TAP version 14 1096s # random seed: R02S95a7a84cd611ea032f65a143b9404a6e 1096s 1..2 1096s # Start of gdbus tests 1096s # Start of connection tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/flush/.dirs/runtime 1096s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 1 /gdbus/connection/flush 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_HCNA02/gdbus/connection/large_message/.dirs/runtime 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1096s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1096s ok 2 /gdbus/connection/large_message 1096s # End of connection tests 1096s # End of gdbus tests 1096s ok - glib/gdbus-connection-slow.test 1096s # Running test: glib/override.test 1096s TAP version 14 1096s # random seed: R02Sbea562c26086d169ecbac312d80b9f5a 1096s 1..1 1096s # Start of gobject tests 1096s # *** emitting foo on a TestA instance 1096s # Expecting: TestA::foo,TestI::foo 1096s # Got: TestA::foo,TestI::foo 1096s # *** emitting bar on a TestA instance 1096s # Expecting: TestA::bar 1096s # Got: TestA::bar 1096s # *** emitting baz on a TestA instance 1096s # Expecting: TestA::baz 1096s # Got: TestA::baz 1096s # *** emitting foo on a TestB instance 1096s # Expecting: TestB::foo,TestA::foo,TestI::foo 1096s # Got: TestB::foo,TestA::foo,TestI::foo 1096s # *** emitting bar on a TestB instance 1096s # Expecting: TestB::bar,TestA::bar 1096s # Got: TestB::bar,TestA::bar 1096s # *** emitting baz on a TestB instance 1096s # Expecting: TestB::baz,TestA::baz 1096s # Got: TestB::baz,TestA::baz 1096s # *** emitting foo on a TestC instance 1096s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1096s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1096s # *** emitting bar on a TestC instance 1096s # Expecting: TestC::bar,TestB::bar,TestA::bar 1096s # Got: TestC::bar,TestB::bar,TestA::bar 1096s # *** emitting baz on a TestC instance 1096s # Expecting: TestC::baz,TestB::baz,TestA::baz 1096s # Got: TestC::baz,TestB::baz,TestA::baz 1096s ok 1 /gobject/override 1096s # End of gobject tests 1096s ok - glib/override.test 1096s # Running test: glib/accumulator.test 1096s TAP version 14 1096s # random seed: R02S074fbaa66d9ac966e0f5278e55672b6a 1096s 1..1 1096s # Start of gobject tests 1096s ok 1 /gobject/accumulator 1096s # End of gobject tests 1097s ok - glib/accumulator.test 1097s # Running test: glib/signals-refcount4.test 1097s TAP version 14 1097s # random seed: R02Sf9af08529e143bb9b583a5617ed3d48c 1097s 1..1 1097s # Start of gobject tests 1097s # Start of refcount tests 1097s # init 0x9a7d5fcf420 1097s # 1097s # init 0x9a7d5fcf5c0 1097s # 1099s # Executing: glib/signals-refcount4.test 1101s # dispose 0x9a7d5fcf420! 1101s # 1101s # dispose 0x9a7d5fcf5c0! 1101s # 1101s ok 1 /gobject/refcount/signals 1101s # slow test /gobject/refcount/signals executed in 5.00 secs 1101s # End of refcount tests 1101s # End of gobject tests 1101s ok - glib/signals-refcount4.test 1101s # Running test: glib/basics-gobject.test 1101s TAP version 14 1101s # random seed: R02S02c3f136cd8af585115e1d4a008c9494 1101s 1..1 1101s # Start of gobject tests 1101s # private data during initialization: 54321 == 54321 1101s # MAIN: emit test-signal: 1101s # ::test_signal default_handler called 1101s # ::test_signal default_handler called 1101s # ::test_signal default_handler called 1101s # signal return: "" 1101s # MAIN: call iface print-string on test and derived object: 1101s # Iface-FOO: "iface-string-from-test-type" from 0x69abaddf7a0 1101s # Iface-BAR: "iface-string-from-derived-type" from 0x69abaddf6c0 1101s # chaining: 1101s # Iface-FOO: "iface-string-from-derived-type" from 0x69abaddf6c0 1101s # private data after initialization: 54321 == 54321 1101s ok 1 /gobject/basics 1101s # End of gobject tests 1101s ok - glib/basics-gobject.test 1101s # Running test: glib/param.test 1101s TAP version 14 1101s # random seed: R02S330ea9c4b09e709a0d68ef01eecba18f 1102s 1..32 1102s # Start of param tests 1102s ok 1 /param/value 1102s ok 2 /param/strings 1102s ok 3 /param/qdata 1102s ok 4 /param/validate 1102s ok 5 /param/convert 1102s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1102s ok 7 /param/default 1102s ok 8 /param/is-valid-name 1102s # Start of invalid-name tests 1102s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1102s ok 9 /param/invalid-name/colon 1102s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1102s ok 10 /param/invalid-name/first-char 1102s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1102s ok 11 /param/invalid-name/empty 1102s # End of invalid-name tests 1102s # Start of implement tests 1102s # Start of subprocess tests 1102s # End of subprocess tests 1102s # End of implement tests 1102s # End of param tests 1102s # Start of value tests 1102s ok 12 /value/transform 1102s # End of value tests 1102s # Start of paramspec tests 1102s ok 13 /paramspec/char 1102s ok 14 /paramspec/uchar 1102s ok 15 /paramspec/int 1102s ok 16 /paramspec/uint 1102s ok 17 /paramspec/long 1102s ok 18 /paramspec/ulong 1102s ok 19 /paramspec/int64 1102s ok 20 /paramspec/uint64 1102s ok 21 /paramspec/float 1102s ok 22 /paramspec/double 1102s ok 23 /paramspec/unichar 1102s ok 24 /paramspec/param 1102s ok 25 /paramspec/null-param 1102s ok 26 /paramspec/string 1102s ok 27 /paramspec/override 1102s ok 28 /paramspec/gtype 1102s ok 29 /paramspec/variant 1102s ok 30 /paramspec/custom 1102s ok 31 /paramspec/pool 1102s # Start of variant tests 1102s ok 32 /paramspec/variant/cmp 1102s # End of variant tests 1102s # End of paramspec tests 1102s ok - glib/param.test 1102s # Running test: glib/option-argv0.test 1102s TAP version 14 1102s # random seed: R02S7be6bee5711746a3058ff816cb0400d0 1102s 1..1 1102s # Start of option tests 1102s ok 1 /option/argv0 1102s # End of option tests 1102s ok - glib/option-argv0.test 1102s # Running test: glib/utils-c-11.test 1102s TAP version 14 1102s # random seed: R02S55f6b95b3dac7c1f63f531be79866b87 1102s 1..40 1102s # Start of utils tests 1102s ok 1 /utils/language-names 1102s ok 2 /utils/locale-variants 1102s ok 3 /utils/version 1102s ok 4 /utils/appname 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1102s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1102s ok 5 /utils/prgname-thread-safety 1102s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1102s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1102s ok 6 /utils/tmpdir 1102s ok 7 /utils/basic_bits 1102s ok 8 /utils/bits 1102s ok 9 /utils/swap 1102s ok 10 /utils/find-program 1102s ok 11 /utils/find-program-for-path 1102s ok 12 /utils/debug 1102s ok 13 /utils/codeset 1102s ok 14 /utils/codeset2 1102s ok 15 /utils/console-charset 1102s ok 16 /utils/gettext 1102s ok 17 /utils/username 1102s ok 18 /utils/realname 1102s ok 19 /utils/hostname 1102s ok 20 /utils/xdgdirs 1102s ok 21 /utils/specialdir 1102s # NAME: Ubuntu 1102s ok 22 /utils/os-info 1102s ok 23 /utils/clear-pointer 1102s ok 24 /utils/clear-pointer-cast 1102s ok 25 /utils/take-pointer 1102s ok 26 /utils/clear-source 1102s ok 27 /utils/misc-mem 1102s # /utils/aligned-mem summary: Aligned memory allocator 1102s # Alignment must not be zero 1102s # Alignment must be a power of two 1102s # Alignment must be a multiple of sizeof(void*) 1102s ok 28 /utils/aligned-mem 1102s # /utils/free-sized summary: Check that g_free_sized() works 1102s ok 29 /utils/free-sized 1102s ok 30 /utils/nullify 1102s ok 31 /utils/atexit 1102s ok 32 /utils/check-setuid 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1102s ok 33 /utils/int-limits 1102s ok 34 /utils/clear-list 1102s ok 35 /utils/clear-slist 1102s # Start of specialdir tests 1102s ok 36 /utils/specialdir/desktop 1102s # End of specialdir tests 1102s # Start of clear-pointer tests 1102s ok 37 /utils/clear-pointer/side-effects 1102s # End of clear-pointer tests 1102s # Start of aligned-mem tests 1102s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1102s ok 38 /utils/aligned-mem/alignment 1102s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1102s ok 39 /utils/aligned-mem/zeroed 1102s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1102s ok 40 /utils/aligned-mem/free-sized 1102s # Start of subprocess tests 1102s # End of subprocess tests 1102s # End of aligned-mem tests 1102s # End of utils tests 1102s ok - glib/utils-c-11.test 1102s # Running test: glib/fdo-notification-backend.test 1102s TAP version 14 1102s # random seed: R02S68e72c69f54b13c14bd2ff4720079ff0 1102s 1..2 1102s # Start of fdo-notification-backend tests 1102s # Test constructing a GFdoNotificationBackend 1102s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s ok 1 /fdo-notification-backend/construction 1102s # Start of dbus tests 1102s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s ok 2 /fdo-notification-backend/dbus/activate-action 1102s # End of dbus tests 1102s # End of fdo-notification-backend tests 1102s ok - glib/fdo-notification-backend.test 1102s # Running test: glib/converter-stream.test 1102s TAP version 14 1102s # random seed: R02S39df665c43bd49e20d3e7b8439ea3990 1102s 1..17 1102s # Start of converter tests 1102s ok 1 /converter/basics 1102s # End of converter tests 1102s # Start of converter-input-stream tests 1102s ok 2 /converter-input-stream/expander 1102s ok 3 /converter-input-stream/compressor 1102s # Start of truncation tests 1102s ok 4 /converter-input-stream/truncation/zlib 1102s ok 5 /converter-input-stream/truncation/gzip 1102s ok 6 /converter-input-stream/truncation/raw 1102s # End of truncation tests 1102s # Start of charset tests 1102s ok 7 /converter-input-stream/charset/utf8->latin1 1102s ok 8 /converter-input-stream/charset/latin1->utf8 1102s ok 9 /converter-input-stream/charset/fallbacks 1102s # End of charset tests 1102s # End of converter-input-stream tests 1102s # Start of converter-output-stream tests 1102s # Start of roundtrip tests 1102s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1102s ok 10 /converter-output-stream/roundtrip/zlib-0 1102s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1103s ok 11 /converter-output-stream/roundtrip/zlib-9 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1103s ok 12 /converter-output-stream/roundtrip/gzip-0 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1103s ok 13 /converter-output-stream/roundtrip/gzip-9 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1103s ok 14 /converter-output-stream/roundtrip/raw-0 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1103s ok 15 /converter-output-stream/roundtrip/raw-9 1103s # End of roundtrip tests 1103s # End of converter-output-stream tests 1103s # Start of converter-stream tests 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1103s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x772aeff9ec0 and GSocketClientAsyncConnectData 0x772af3e52c0 1103s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1103s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1103s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x772af003020 for GSocketClientAsyncConnectData 0x772af3e52c0 1103s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1103s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1103s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1103s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1103s ok 16 /converter-stream/pollable 1103s ok 17 /converter-stream/leftover 1103s # End of converter-stream tests 1103s ok - glib/converter-stream.test 1103s # Running test: glib/vfs.test 1103s TAP version 14 1103s # random seed: R02Sc6bbef54411325d5e6de4580aa4b7a62 1103s 1..3 1103s # Start of gvfs tests 1103s ok 1 /gvfs/local 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1103s ok 2 /gvfs/register-scheme 1103s # Start of resource tests 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1103s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1103s ok 3 /gvfs/resource/malformed-escaping 1103s # End of resource tests 1103s # End of gvfs tests 1103s ok - glib/vfs.test 1103s # Running test: glib/macros-c-99.test 1103s TAP version 14 1103s # random seed: R02Se3b5b3d574c3a9c0c0ebc6131b7fac03 1103s 1..4 1103s # Start of C tests 1103s ok 1 /C/standard-99 1103s # End of C tests 1103s # Start of alignof tests 1103s ok 2 /alignof/fallback 1103s # End of alignof tests 1103s # Start of assert tests 1103s ok 3 /assert/static 1103s # End of assert tests 1103s # Start of struct tests 1103s ok 4 /struct/sizeof_member 1103s # End of struct tests 1103s ok - glib/macros-c-99.test 1103s # Running test: glib/gobject-private.test 1103s TAP version 14 1103s # random seed: R02S7eb64e39a2f92e7ae070ba33303216f6 1103s 1..3 1103s # Start of private tests 1103s ok 1 /private/instance 1103s ok 2 /private/derived-instance 1103s ok 3 /private/mixed-derived-instance 1103s # End of private tests 1103s ok - glib/gobject-private.test 1103s # Running test: glib/glistmodel.test 1103s TAP version 14 1103s # random seed: R02S19eb8834116be50b6ec7053fd864360d 1103s 1..18 1103s # Start of glistmodel tests 1103s # Start of store tests 1103s ok 1 /glistmodel/store/properties 1103s ok 2 /glistmodel/store/non-gobjects 1103s ok 3 /glistmodel/store/boundaries 1103s ok 4 /glistmodel/store/refcounts 1103s ok 5 /glistmodel/store/sorted 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1103s ok 6 /glistmodel/store/splice-replace-middle 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1103s ok 7 /glistmodel/store/splice-replace-all 1103s ok 8 /glistmodel/store/splice-noop 1103s ok 9 /glistmodel/store/splice-remove-multiple 1103s ok 10 /glistmodel/store/splice-add-multiple 1103s ok 11 /glistmodel/store/splice-wrong-type 1103s ok 12 /glistmodel/store/item-type 1103s ok 13 /glistmodel/store/remove-all 1103s ok 14 /glistmodel/store/sort 1103s ok 15 /glistmodel/store/get-item-cache 1103s ok 16 /glistmodel/store/items-changed 1103s ok 17 /glistmodel/store/past-end 1103s ok 18 /glistmodel/store/find 1103s # End of store tests 1103s # End of glistmodel tests 1103s ok - glib/glistmodel.test 1103s # Running test: glib/types.test 1103s TAP version 14 1103s # random seed: R02Sca01272049acaa9825e30d0430adcc1c 1103s 1..1 1103s # Start of types tests 1103s ok 1 /types/basic_types 1103s # End of types tests 1103s ok - glib/types.test 1103s # Running test: glib/gdbus-serialization.test 1103s TAP version 14 1103s # random seed: R02S7923d42a95438f4e96f0cbfeefad81aa 1103s 1..18 1103s # Start of gdbus tests 1103s # Start of message-serialize tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/basic/.dirs/runtime 1103s ok 1 /gdbus/message-serialize/basic 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/complex/.dirs/runtime 1103s ok 2 /gdbus/message-serialize/complex 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/invalid/.dirs/runtime 1103s ok 3 /gdbus/message-serialize/invalid 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/.dirs/runtime 1103s ok 4 /gdbus/message-serialize/header-checks 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/double-array/.dirs/runtime 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1103s ok 5 /gdbus/message-serialize/double-array 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/empty-structure/.dirs/runtime 1103s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1103s ok 6 /gdbus/message-serialize/empty-structure 1103s # Start of header-checks tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1103s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1103s ok 7 /gdbus/message-serialize/header-checks/valid 1103s # End of header-checks tests 1103s # End of message-serialize tests 1103s # Start of message-parse tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1103s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/non-signature-header/.dirs/runtime 1103s ok 9 /gdbus/message-parse/non-signature-header 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-signature-header/.dirs/runtime 1103s ok 10 /gdbus/message-parse/empty-signature-header 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1103s ok 11 /gdbus/message-parse/multiple-signature-header 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1103s ok 12 /gdbus/message-parse/over-long-signature-header 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1103s ok 13 /gdbus/message-parse/deep-header-nesting 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1103s ok 14 /gdbus/message-parse/deep-body-nesting 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/truncated/.dirs/runtime 1103s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1103s ok 15 /gdbus/message-parse/truncated 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/empty-structure/.dirs/runtime 1103s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1103s ok 16 /gdbus/message-parse/empty-structure 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/missing-header/.dirs/runtime 1103s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1103s ok 17 /gdbus/message-parse/missing-header 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_POKJ02/gdbus/message-parse/invalid-header-type/.dirs/runtime 1103s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1103s ok 18 /gdbus/message-parse/invalid-header-type 1103s # End of message-parse tests 1103s # End of gdbus tests 1103s ok - glib/gdbus-serialization.test 1103s # Running test: glib/gdbus-sasl.test 1103s TAP version 14 1103s # random seed: R02S7cf64aaaae798fba5dbba57fe5dc9a23 1103s 1..1 1103s # Start of gdbus tests 1103s # Start of sasl tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_0X6I02/gdbus/sasl/server/.dirs/runtime 1103s # New handshake: EXTERNAL with incorrect initial response 1103s # C:“AUTH EXTERNAL 30†1103s # Expect: /^REJECTED.*$/ 1103s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1103s # New handshake: EXTERNAL without initial response, failing to authenticate 1103s # C:“AUTH EXTERNAL†1103s # Expect: /^DATA$/ 1103s # S:“DATA†1103s # C:“DATA 30†1103s # Expect: /^REJECTED.*$/ 1103s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1103s # New handshake: EXTERNAL with initial response 1103s # C:“AUTH EXTERNAL 31303030†1103s # Expect: /^OK [0-9a-f]+$/ 1103s # S:“OK 2ab4411e2d6e0f376818ff72678646ea†1103s # New handshake: EXTERNAL without initial response 1103s # C:“AUTH EXTERNAL†1103s # Expect: /^DATA$/ 1103s # S:“DATA†1103s # C:“DATA 31303030†1103s # Expect: /^OK [0-9a-f]+$/ 1103s # S:“OK 2ab4411e2d6e0f376818ff72678646ea†1103s # New handshake: EXTERNAL with empty authorization identity 1103s # C:“AUTH EXTERNAL†1103s # Expect: /^DATA$/ 1103s # S:“DATA†1103s # C:“DATA†1103s # Expect: /^OK [0-9a-f]+$/ 1103s # S:“OK 2ab4411e2d6e0f376818ff72678646ea†1103s # New handshake: EXTERNAL with empty authorization identity and whitespace 1103s # C:“AUTH EXTERNAL†1103s # Expect: /^DATA$/ 1103s # S:“DATA†1103s # C:“DATA †1103s # Expect: /^OK [0-9a-f]+$/ 1103s # S:“OK 2ab4411e2d6e0f376818ff72678646ea†1103s ok 1 /gdbus/sasl/server 1103s # End of sasl tests 1103s # End of gdbus tests 1103s ok - glib/gdbus-sasl.test 1103s # Running test: glib/option-context.test 1103s TAP version 14 1103s # random seed: R02Sedc052e5ecd248012defc545be4d85bf 1103s 1..57 1103s # Start of option tests 1103s ok 1 /option/basic 1103s ok 2 /option/translate 1103s ok 3 /option/strict-posix 1103s # Start of help tests 1103s ok 4 /option/help/options 1103s ok 5 /option/help/no-options 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1103s ok 6 /option/help/no-help-options 1103s # End of help tests 1103s # Start of group tests 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1103s ok 7 /option/group/captions 1103s ok 8 /option/group/main 1103s ok 9 /option/group/error-hook 1103s ok 10 /option/group/parse 1103s # Start of captions tests 1103s # Start of subprocess tests 1103s # End of subprocess tests 1103s # End of captions tests 1103s # End of group tests 1103s # Start of restoration tests 1103s ok 11 /option/restoration/int 1103s ok 12 /option/restoration/string 1103s ok 13 /option/restoration/boolean 1103s # End of restoration tests 1103s # Start of arg tests 1103s ok 14 /option/arg/reverse-string 1103s ok 15 /option/arg/optional-int 1103s # Start of repetition tests 1103s ok 16 /option/arg/repetition/int 1103s ok 17 /option/arg/repetition/string 1103s ok 18 /option/arg/repetition/filename 1103s ok 19 /option/arg/repetition/double 1103s ok 20 /option/arg/repetition/locale 1103s ok 21 /option/arg/repetition/int64 1103s # End of repetition tests 1103s # Start of array tests 1103s ok 22 /option/arg/array/string 1103s # End of array tests 1103s # Start of callback tests 1103s ok 23 /option/arg/callback/string 1103s ok 24 /option/arg/callback/count 1103s ok 25 /option/arg/callback/optional1 1103s ok 26 /option/arg/callback/optional2 1103s ok 27 /option/arg/callback/optional3 1103s ok 28 /option/arg/callback/optional4 1103s ok 29 /option/arg/callback/optional5 1103s ok 30 /option/arg/callback/optional6 1103s ok 31 /option/arg/callback/optional7 1103s ok 32 /option/arg/callback/optional8 1103s # End of callback tests 1103s # Start of remaining tests 1103s ok 33 /option/arg/remaining/callback 1103s ok 34 /option/arg/remaining/callback-false 1103s ok 35 /option/arg/remaining/non-option 1103s ok 36 /option/arg/remaining/separator 1103s ok 37 /option/arg/remaining/array 1103s # End of remaining tests 1103s # Start of ignore tests 1103s ok 38 /option/arg/ignore/long 1103s ok 39 /option/arg/ignore/short 1103s ok 40 /option/arg/ignore/arg 1103s # End of ignore tests 1103s # Start of rest tests 1103s ok 41 /option/arg/rest/non-option 1103s ok 42 /option/arg/rest/separator1 1103s ok 43 /option/arg/rest/separator2 1103s ok 44 /option/arg/rest/separator3 1103s ok 45 /option/arg/rest/separator4 1103s ok 46 /option/arg/rest/separator5 1103s # End of rest tests 1103s # End of arg tests 1103s # Start of context tests 1103s ok 47 /option/context/add 1103s ok 48 /option/context/empty2 1103s ok 49 /option/context/empty3 1103s # End of context tests 1103s # Start of bug tests 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1103s ok 50 /option/bug/unknown-short 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1103s ok 51 /option/bug/lonely-dash 1103s ok 52 /option/bug/triple-dash 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1103s ok 53 /option/bug/missing-arg 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1103s ok 54 /option/bug/dash-arg 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1103s ok 55 /option/bug/short-remaining 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1103s ok 56 /option/bug/double-free 1103s ok 57 /option/bug/double-zero 1103s # End of bug tests 1103s # End of option tests 1103s ok - glib/option-context.test 1103s # Running test: glib/gdbus-proxy-unique-name.test 1103s TAP version 14 1103s # random seed: R02S85ef37e95b195dd9efa3f77e1b2b389c 1103s 1..1 1103s # Start of gdbus tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_EESK02/gdbus/proxy-unique-name/.dirs/runtime 1103s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s ok 1 /gdbus/proxy-unique-name 1103s # End of gdbus tests 1103s ok - glib/gdbus-proxy-unique-name.test 1103s # Running test: glib/portal-support-flatpak-gsettings-only.test 1103s TAP version 14 1103s # random seed: R02S9b9561f4a77d0ba063ac39b980609f76 1103s 1..1 1103s # Start of portal-support tests 1103s # Start of flatpak tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/runtime 1103s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_P4PK02/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1103s ok 1 /portal-support/flatpak/gsettings 1103s # End of flatpak tests 1103s # End of portal-support tests 1103s ok - glib/portal-support-flatpak-gsettings-only.test 1103s # Running test: glib/g-file.test 1103s TAP version 14 1103s # random seed: R02S4f68d4de0c56f6f9081d713fa5afb02d 1103s 1..8 1103s # Start of g-file tests 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1103s ok 1 /g-file/test_g_file_new_null 1103s ok 2 /g-file/test_g_file_new_for_path 1103s ok 3 /g-file/test_g_file_new_for_uri 1103s ok 4 /g-file/test_g_file_dup 1103s ok 5 /g-file/test_g_file_get_parse_name_utf8 1103s file:///tmp/test-tmp-glib_g-file.test-USXF02 1103s file:///tmp 1103s file:///tmp 1103s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1103s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1103s ok 6 /g-file/test_g_file_new_for_commandline_arg 1103s /dir1 /dir1/dir2/dir3/ 1103s /dir1/ /dir1/dir2/dir3/ 1103s /dir1 /dir1/dir2/dir3 1103s /dir1/ /dir1/dir2/dir3 1103s /tmp/ /something/ 1103s /dir1/dir2 /dir1/ 1103s //dir1/new //dir1/new/dir2/dir3 1103s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1103s file:///dir1 file:///dir1/dir2/dir3/ 1103s file:///dir1/ file:///dir1/dir2/dir3/ 1103s file:///dir1 file:///dir1/dir2/dir3 1103s file:///dir1/ file:///dir1/dir2/dir3 1103s file:///tmp/ file:///something/ 1103s file:///dir1/dir2 file:///dir1/ 1103s file:////dir1/new file:////dir1/new/dir2/dir3 1103s file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 file:///dir/UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88/dir2 1103s ok 7 /g-file/test_g_file_has_prefix 1103s ok 8 /g-file/test_g_file_get_parent_child 1103s # End of g-file tests 1103s ok - glib/g-file.test 1103s # Running test: glib/strfuncs.test 1103s TAP version 14 1103s # random seed: R02Se8e8894e636140af7acd88bee6836eca 1103s 1..50 1103s # Start of strfuncs tests 1103s ok 1 /strfuncs/ascii-strcasecmp 1103s ok 2 /strfuncs/ascii_strdown 1103s ok 3 /strfuncs/ascii_strdup 1103s ok 4 /strfuncs/ascii_strtod 1103s ok 5 /strfuncs/bounds-check 1103s ok 6 /strfuncs/has-prefix 1103s ok 7 /strfuncs/has-prefix-macro 1103s ok 8 /strfuncs/has-suffix 1103s ok 9 /strfuncs/has-suffix-macro 1103s ok 10 /strfuncs/memdup 1103s ok 11 /strfuncs/memdup2 1103s ok 12 /strfuncs/set_str 1103s ok 13 /strfuncs/stpcpy 1103s ok 14 /strfuncs/str_match_string 1103s ok 15 /strfuncs/str_tokenize_and_fold 1103s ok 16 /strfuncs/strcanon 1103s ok 17 /strfuncs/strchomp 1103s ok 18 /strfuncs/strchug 1103s ok 19 /strfuncs/strcompress-strescape 1103s ok 20 /strfuncs/strconcat 1103s ok 21 /strfuncs/strdelimit 1103s ok 22 /strfuncs/strdup 1103s ok 23 /strfuncs/strdup-printf 1103s ok 24 /strfuncs/strdupv 1103s ok 25 /strfuncs/strerror 1103s ok 26 /strfuncs/strip-context 1103s ok 27 /strfuncs/strjoin 1103s ok 28 /strfuncs/strjoinv 1103s ok 29 /strfuncs/strlcat 1103s ok 30 /strfuncs/strlcpy 1103s ok 31 /strfuncs/strncasecmp 1103s ok 32 /strfuncs/strndup 1103s ok 33 /strfuncs/strnfill 1103s ok 34 /strfuncs/strreverse 1103s ok 35 /strfuncs/strsignal 1103s ok 36 /strfuncs/strsplit 1103s ok 37 /strfuncs/strsplit-set 1103s ok 38 /strfuncs/strstr 1103s ok 39 /strfuncs/strtod 1103s ok 40 /strfuncs/strtoull-strtoll 1103s ok 41 /strfuncs/strup 1103s ok 42 /strfuncs/strv-contains 1103s ok 43 /strfuncs/strv-equal 1103s ok 44 /strfuncs/strv-length 1103s ok 45 /strfuncs/test-is-to-digit 1103s ok 46 /strfuncs/transliteration 1103s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1103s ok 47 /strfuncs/str-equal 1103s # Start of ascii-string-to-num tests 1103s ok 48 /strfuncs/ascii-string-to-num/pathological 1103s ok 49 /strfuncs/ascii-string-to-num/usual 1103s # End of ascii-string-to-num tests 1103s # Start of strdup tests 1103s ok 50 /strfuncs/strdup/inline 1103s # End of strdup tests 1103s # End of strfuncs tests 1103s ok - glib/strfuncs.test 1103s # Running test: glib/portal-support-flatpak-network-only.test 1103s TAP version 14 1103s # random seed: R02Sc6000abf107e7d2dfbd998a44418d9d8 1103s 1..1 1103s # Start of portal-support tests 1103s # Start of flatpak tests 1103s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/home 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/cache 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/system-config2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/config 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/system-data2 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/data 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/state 1103s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/runtime 1103s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_HLLF02/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1103s ok 1 /portal-support/flatpak/network 1103s # End of flatpak tests 1103s # End of portal-support tests 1103s ok - glib/portal-support-flatpak-network-only.test 1103s # Running test: glib/bitlock.test 1103s TAP version 14 1103s # random seed: R02Scc78482d4d7e3f53d6b89188c730ddf1 1103s 1..1 1103s # Start of bitlock tests 1103s # Start of performance tests 1103s # max perf: iterations per second 1103s ok 1 /bitlock/performance/uncontended 1103s # End of performance tests 1103s # End of bitlock tests 1103s ok - glib/bitlock.test 1103s # Running test: glib/utils-c-99.test 1103s TAP version 14 1103s # random seed: R02Sdd7f5d1c658b269d766dce8a2f170627 1103s 1..40 1103s # Start of utils tests 1103s ok 1 /utils/language-names 1103s ok 2 /utils/locale-variants 1103s ok 3 /utils/version 1103s ok 4 /utils/appname 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1103s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1103s ok 5 /utils/prgname-thread-safety 1103s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1103s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1103s ok 6 /utils/tmpdir 1104s ok 7 /utils/basic_bits 1104s ok 8 /utils/bits 1104s ok 9 /utils/swap 1104s ok 10 /utils/find-program 1104s ok 11 /utils/find-program-for-path 1104s ok 12 /utils/debug 1104s ok 13 /utils/codeset 1104s ok 14 /utils/codeset2 1104s ok 15 /utils/console-charset 1104s ok 16 /utils/gettext 1104s ok 17 /utils/username 1104s ok 18 /utils/realname 1104s ok 19 /utils/hostname 1104s ok 20 /utils/xdgdirs 1104s ok 21 /utils/specialdir 1104s # NAME: Ubuntu 1104s ok 22 /utils/os-info 1104s ok 23 /utils/clear-pointer 1104s ok 24 /utils/clear-pointer-cast 1104s ok 25 /utils/take-pointer 1104s ok 26 /utils/clear-source 1104s ok 27 /utils/misc-mem 1104s # /utils/aligned-mem summary: Aligned memory allocator 1104s # Alignment must not be zero 1104s # Alignment must be a power of two 1104s # Alignment must be a multiple of sizeof(void*) 1104s ok 28 /utils/aligned-mem 1104s # /utils/free-sized summary: Check that g_free_sized() works 1104s ok 29 /utils/free-sized 1104s ok 30 /utils/nullify 1104s ok 31 /utils/atexit 1104s ok 32 /utils/check-setuid 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1104s ok 33 /utils/int-limits 1104s ok 34 /utils/clear-list 1104s ok 35 /utils/clear-slist 1104s # Start of specialdir tests 1104s ok 36 /utils/specialdir/desktop 1104s # End of specialdir tests 1104s # Start of clear-pointer tests 1104s ok 37 /utils/clear-pointer/side-effects 1104s # End of clear-pointer tests 1104s # Start of aligned-mem tests 1104s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1104s ok 38 /utils/aligned-mem/alignment 1104s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1104s ok 39 /utils/aligned-mem/zeroed 1104s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1104s ok 40 /utils/aligned-mem/free-sized 1104s # Start of subprocess tests 1104s # End of subprocess tests 1104s # End of aligned-mem tests 1104s # End of utils tests 1104s ok - glib/utils-c-99.test 1104s # Running test: glib/shell.test 1104s TAP version 14 1104s # random seed: R02Sc103960e13df698e3267fd34e672b8e8 1104s 1..51 1104s # Start of shell tests 1104s # Start of cmdline tests 1104s test cmdline: foo bar 1104s ok 1 /shell/cmdline/0 1104s test cmdline: foo 'bar' 1104s ok 2 /shell/cmdline/1 1104s test cmdline: foo "bar" 1104s ok 3 /shell/cmdline/2 1104s test cmdline: foo '' 'bar' 1104s ok 4 /shell/cmdline/3 1104s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1104s ok 5 /shell/cmdline/4 1104s test cmdline: foo blah foo bar baz 1104s ok 6 /shell/cmdline/5 1104s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1104s ok 7 /shell/cmdline/6 1104s test cmdline: foo \ 1104s bar 1104s ok 8 /shell/cmdline/7 1104s test cmdline: foo '' '' 1104s ok 9 /shell/cmdline/8 1104s test cmdline: foo \" la la la 1104s ok 10 /shell/cmdline/9 1104s test cmdline: foo \ foo woo woo\ 1104s ok 11 /shell/cmdline/10 1104s test cmdline: foo "yada yada \$\"" 1104s ok 12 /shell/cmdline/11 1104s test cmdline: foo "c:\\" 1104s ok 13 /shell/cmdline/12 1104s test cmdline: foo # bla bla bla 1104s bar 1104s ok 14 /shell/cmdline/13 1104s test cmdline: foo a#b 1104s ok 15 /shell/cmdline/14 1104s test cmdline: #foo 1104s ok 16 /shell/cmdline/15 1104s test cmdline: foo bar \ 1104s ok 17 /shell/cmdline/16 1104s test cmdline: foo 'bar baz 1104s ok 18 /shell/cmdline/17 1104s test cmdline: foo '"bar" baz 1104s ok 19 /shell/cmdline/18 1104s test cmdline: 1104s ok 20 /shell/cmdline/19 1104s test cmdline: 1104s ok 21 /shell/cmdline/20 1104s test cmdline: # foo bar 1104s ok 22 /shell/cmdline/21 1104s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1104s ok 23 /shell/cmdline/22 1104s # End of cmdline tests 1104s # Start of quote tests 1104s ok 24 /shell/quote/0 1104s ok 25 /shell/quote/1 1104s ok 26 /shell/quote/2 1104s ok 27 /shell/quote/3 1104s ok 28 /shell/quote/4 1104s ok 29 /shell/quote/5 1104s ok 30 /shell/quote/6 1104s # End of quote tests 1104s # Start of unquote tests 1104s ok 31 /shell/unquote/0 1104s ok 32 /shell/unquote/1 1104s ok 33 /shell/unquote/2 1104s ok 34 /shell/unquote/3 1104s ok 35 /shell/unquote/4 1104s ok 36 /shell/unquote/5 1104s ok 37 /shell/unquote/6 1104s ok 38 /shell/unquote/7 1104s ok 39 /shell/unquote/8 1104s ok 40 /shell/unquote/9 1104s ok 41 /shell/unquote/10 1104s ok 42 /shell/unquote/11 1104s ok 43 /shell/unquote/12 1104s ok 44 /shell/unquote/13 1104s ok 45 /shell/unquote/14 1104s ok 46 /shell/unquote/15 1104s ok 47 /shell/unquote/16 1104s ok 48 /shell/unquote/17 1104s ok 49 /shell/unquote/18 1104s ok 50 /shell/unquote/19 1104s ok 51 /shell/unquote/20 1104s # End of unquote tests 1104s # End of shell tests 1104s ok - glib/shell.test 1104s # Running test: glib/cxx-20.test 1104s TAP version 14 1104s # random seed: R02S4dc1988033821eb98ff7135a3d8afdca 1104s 1..2 1104s # Start of gtask tests 1104s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1104s ok 1 /gtask/name 1104s # Start of name tests 1104s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1104s ok 2 /gtask/name/macro-wrapper 1104s # End of name tests 1104s # End of gtask tests 1104s ok - glib/cxx-20.test 1104s # Running test: glib/slist.test 1104s TAP version 14 1104s # random seed: R02S69006b290c68bdc81af9919369ec0ad1 1104s 1..14 1104s # Start of slist tests 1104s ok 1 /slist/sort 1104s ok 2 /slist/sort-with-data 1104s ok 3 /slist/insert-sorted 1104s ok 4 /slist/insert-sorted-with-data 1104s ok 5 /slist/reverse 1104s ok 6 /slist/nth 1104s ok 7 /slist/remove 1104s ok 8 /slist/remove-all 1104s ok 9 /slist/insert 1104s ok 10 /slist/position 1104s ok 11 /slist/concat 1104s ok 12 /slist/copy 1104s # Start of sort tests 1104s ok 13 /slist/sort/stable 1104s # End of sort tests 1104s # Start of copy tests 1104s ok 14 /slist/copy/deep 1104s # End of copy tests 1104s # End of slist tests 1104s ok - glib/slist.test 1104s # Running test: glib/tree.test 1104s TAP version 14 1104s # random seed: R02S5317be5d923e7549bb2ce780407fd73a 1104s 1..7 1104s # Start of tree tests 1104s ok 1 /tree/search 1104s ok 2 /tree/remove 1104s ok 3 /tree/destroy 1104s ok 4 /tree/traverse 1104s ok 5 /tree/insert 1104s ok 6 /tree/bounds 1104s ok 7 /tree/remove-all 1104s # End of tree tests 1104s ok - glib/tree.test 1104s # Running test: glib/assert-msg-test.py.test 1104s TAP version 13 1104s ok 1 __main__.TestAssertMessage.test_gassert 1104s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1104s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1104s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1104s # Error: ** 1104s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1104s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1104s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1104s 1..2 1104s ok - glib/assert-msg-test.py.test 1104s # Running test: glib/data-input-stream.test 1104s TAP version 14 1104s # random seed: R02Sdc46ef32dc86938cdfa9581dbea8b279 1104s 1..10 1104s # Start of data-input-stream tests 1104s ok 1 /data-input-stream/basic 1104s ok 2 /data-input-stream/read-lines-LF 1104s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1104s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1104s ok 5 /data-input-stream/read-lines-CR 1104s ok 6 /data-input-stream/read-lines-CR-LF 1104s # Executing: glib/data-input-stream.test 1104s ok 7 /data-input-stream/read-lines-any 1104s ok 8 /data-input-stream/read-until 1104s ok 9 /data-input-stream/read-upto 1104s ok 10 /data-input-stream/read-int 1104s # End of data-input-stream tests 1104s ok - glib/data-input-stream.test 1104s # Running test: glib/list.test 1104s TAP version 14 1104s # random seed: R02Sdd2a6213a2cbfd3eadd214f2114c56c3 1104s 1..20 1104s # Start of list tests 1104s ok 1 /list/sort 1104s ok 2 /list/sort-with-data 1104s ok 3 /list/insert-before-link 1104s ok 4 /list/insert-sorted 1104s ok 5 /list/insert-sorted-with-data 1104s ok 6 /list/reverse 1104s ok 7 /list/nth 1104s ok 8 /list/concat 1104s ok 9 /list/remove 1104s ok 10 /list/remove-all 1104s ok 11 /list/first-last 1104s ok 12 /list/insert 1104s ok 13 /list/free-full 1104s ok 14 /list/copy 1104s ok 15 /list/copy-deep 1104s ok 16 /list/delete-link 1104s ok 17 /list/prepend 1104s ok 18 /list/position 1104s ok 19 /list/double-free 1104s # Start of sort tests 1104s ok 20 /list/sort/stable 1104s # End of sort tests 1104s # End of list tests 1104s ok - glib/list.test 1104s # Running test: glib/memory-settings-backend.test 1104s TAP version 14 1104s # random seed: R02S2e97933048a44d6063fd7882a7228030 1104s 1..1 1104s # Start of memory-settings-backend tests 1104s ok 1 /memory-settings-backend/extension-point-registered 1104s # End of memory-settings-backend tests 1104s ok - glib/memory-settings-backend.test 1104s # Running test: glib/refcount.test 1104s TAP version 14 1104s # random seed: R02S44e20de86caba2c41b4c9738fe7f9105 1104s 1..4 1104s # Start of refcount tests 1104s ok 1 /refcount/grefcount 1104s ok 2 /refcount/gatomicrefcount 1104s # Start of grefcount tests 1104s ok 3 /refcount/grefcount/saturation 1104s # End of grefcount tests 1104s # Start of gatomicrefcount tests 1104s ok 4 /refcount/gatomicrefcount/saturation 1104s # End of gatomicrefcount tests 1104s # End of refcount tests 1104s ok - glib/refcount.test 1104s # Running test: glib/rec-mutex.test 1104s TAP version 14 1104s # random seed: R02Scc0d4e8d08e71ef10e390a9909d896ed 1104s 1..29 1104s # Start of thread tests 1104s ok 1 /thread/rec-mutex1 1104s ok 2 /thread/rec-mutex2 1104s ok 3 /thread/rec-mutex3 1104s ok 4 /thread/rec-mutex4 1104s # Start of rec-mutex tests 1104s # Start of perf tests 1104s # Start of uncontended tests 1104s # max perf: 1.000000 mips 1104s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1104s # max perf: inf mips 1104s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1104s # max perf: inf mips 1104s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1104s # max perf: 1.000000 mips 1104s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1104s # max perf: 1.000000 mips 1104s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1104s # End of uncontended tests 1104s # Start of contended1 tests 1104s # max perf: inf mips 1104s ok 10 /thread/rec-mutex/perf/contended1/depth1 1104s # max perf: 2.000000 mips 1104s ok 11 /thread/rec-mutex/perf/contended1/depth2 1104s # max perf: inf mips 1104s ok 12 /thread/rec-mutex/perf/contended1/depth3 1104s # max perf: inf mips 1104s ok 13 /thread/rec-mutex/perf/contended1/depth4 1104s # max perf: inf mips 1104s ok 14 /thread/rec-mutex/perf/contended1/depth5 1104s # End of contended1 tests 1104s # Start of contended2 tests 1104s # max perf: inf mips 1104s ok 15 /thread/rec-mutex/perf/contended2/depth1 1104s # max perf: 3.000000 mips 1104s ok 16 /thread/rec-mutex/perf/contended2/depth2 1104s # max perf: 3.000000 mips 1104s ok 17 /thread/rec-mutex/perf/contended2/depth3 1104s # max perf: 3.000000 mips 1104s ok 18 /thread/rec-mutex/perf/contended2/depth4 1104s # max perf: 1.500000 mips 1104s ok 19 /thread/rec-mutex/perf/contended2/depth5 1104s # End of contended2 tests 1104s # Start of contended3 tests 1104s # max perf: 4.000000 mips 1104s ok 20 /thread/rec-mutex/perf/contended3/depth1 1104s # max perf: 4.000000 mips 1104s ok 21 /thread/rec-mutex/perf/contended3/depth2 1104s # max perf: inf mips 1104s ok 22 /thread/rec-mutex/perf/contended3/depth3 1104s # max perf: 1.000000 mips 1104s ok 23 /thread/rec-mutex/perf/contended3/depth4 1104s # max perf: 4.000000 mips 1104s ok 24 /thread/rec-mutex/perf/contended3/depth5 1104s # End of contended3 tests 1104s # Start of contended4 tests 1104s # max perf: 5.000000 mips 1104s ok 25 /thread/rec-mutex/perf/contended4/depth1 1104s # max perf: 5.000000 mips 1104s ok 26 /thread/rec-mutex/perf/contended4/depth2 1104s # max perf: 5.000000 mips 1104s ok 27 /thread/rec-mutex/perf/contended4/depth3 1104s # max perf: 2.500000 mips 1104s ok 28 /thread/rec-mutex/perf/contended4/depth4 1104s # max perf: 5.000000 mips 1104s ok 29 /thread/rec-mutex/perf/contended4/depth5 1104s # End of contended4 tests 1104s # End of perf tests 1104s # End of rec-mutex tests 1104s # End of thread tests 1104s ok - glib/rec-mutex.test 1104s # Running test: glib/memory-input-stream.test 1104s TAP version 14 1104s # random seed: R02S8a2f628e7be36538c3ba476b268d9963 1104s 1..6 1104s # Start of memory-input-stream tests 1104s ok 1 /memory-input-stream/read-chunks 1104s ok 2 /memory-input-stream/async 1104s ok 3 /memory-input-stream/seek 1104s ok 4 /memory-input-stream/truncate 1104s ok 5 /memory-input-stream/read-bytes 1104s ok 6 /memory-input-stream/from-bytes 1104s # End of memory-input-stream tests 1104s ok - glib/memory-input-stream.test 1104s # Running test: glib/gmenumodel.test 1104s TAP version 14 1104s # random seed: R02S0cbbf94ece783783c44077e360746d79 1104s 1..15 1104s # Start of gmenu tests 1106s ok 1 /gmenu/equality 1106s # slow test /gmenu/equality executed in 1.88 secs 1108s ok 2 /gmenu/random 1108s # slow test /gmenu/random executed in 2.67 secs 1108s ok 3 /gmenu/attributes 1108s ok 4 /gmenu/links 1108s ok 5 /gmenu/mutable 1108s ok 6 /gmenu/convenience 1108s ok 7 /gmenu/menuitem 1108s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1108s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s ok 8 /gmenu/input-validation 1109s # Start of dbus tests 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s # Executing: glib/gmenumodel.test 1110s ok 9 /gmenu/dbus/roundtrip 1110s # slow test /gmenu/dbus/roundtrip executed in 1.04 secs 1110s ok 10 /gmenu/dbus/subscriptions 1112s ok 11 /gmenu/dbus/threaded 1112s # slow test /gmenu/dbus/threaded executed in 1.50 secs 1112s # Start of peer tests 1113s ok 12 /gmenu/dbus/peer/roundtrip 1113s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1113s ok 13 /gmenu/dbus/peer/subscriptions 1113s # End of peer tests 1113s # Start of export tests 1113s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1113s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s ok 14 /gmenu/dbus/export/error-handling 1113s # End of export tests 1113s # End of dbus tests 1113s # Start of attributes tests 1113s ok 15 /gmenu/attributes/iterate 1113s # End of attributes tests 1113s # End of gmenu tests 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok - glib/gmenumodel.test 1113s # Running test: glib/contenttype.test 1113s TAP version 14 1113s # random seed: R02Secb85c76ff15bba3e818c231d98e60e2 1113s 1..13 1113s # Start of contenttype tests 1113s ok 1 /contenttype/guess 1113s ok 2 /contenttype/guess_svg_from_data 1113s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1113s ok 4 /contenttype/unknown 1113s ok 5 /contenttype/subtype 1113s ok 6 /contenttype/list 1113s ok 7 /contenttype/executable 1113s ok 8 /contenttype/description 1113s ok 9 /contenttype/icon 1113s ok 10 /contenttype/symbolic-icon 1113s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1113s ok 11 /contenttype/tree 1113s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1113s ok 12 /contenttype/tree_invalid_encoding 1113s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1113s ok 13 /contenttype/test_type_is_a_special_case 1113s # End of contenttype tests 1113s ok - glib/contenttype.test 1113s # Running test: glib/utils-isolated.test 1113s TAP version 14 1113s # random seed: R02Sd3103bdf84549fed260d68d24e6e2a6f 1113s 1..11 1113s # Start of utils-isolated tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/tmp-dir/.dirs/runtime 1113s ok 1 /utils-isolated/tmp-dir 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/home-dir/.dirs/runtime 1113s ok 2 /utils-isolated/home-dir 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-cache-dir/.dirs/runtime 1113s ok 3 /utils-isolated/user-cache-dir 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-config-dirs/.dirs/runtime 1113s ok 4 /utils-isolated/system-config-dirs 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-config-dir/.dirs/runtime 1113s ok 5 /utils-isolated/user-config-dir 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/system-data-dirs/.dirs/runtime 1113s ok 6 /utils-isolated/system-data-dirs 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-data-dir/.dirs/runtime 1113s ok 7 /utils-isolated/user-data-dir 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-state-dir/.dirs/runtime 1113s ok 8 /utils-isolated/user-state-dir 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/user-runtime-dir/.dirs/runtime 1113s ok 9 /utils-isolated/user-runtime-dir 1113s # Start of cleanup tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1113s Unable to clean up temporary directory /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1113s Unable to clean up temporary directory /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1113s Unable to clean up temporary directory /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/handles-errors: Directory not empty 1113s ok 10 /utils-isolated/cleanup/handles-errors 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1113s Unable to clean up temporary directory /tmp/test_utils-isolated_1K45Z2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1113s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1113s # End of cleanup tests 1113s # End of utils-isolated tests 1113s ok - glib/utils-isolated.test 1113s # Running test: glib/hook.test 1113s TAP version 14 1113s # random seed: R02Sa49ad1578ceb590d8580087c016171c5 1113s 1..2 1113s # Start of hook tests 1113s ok 1 /hook/basics 1113s ok 2 /hook/corner-cases 1113s # End of hook tests 1113s ok - glib/hook.test 1113s # Running test: glib/static-link.test 1113s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1113s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1113s and make sure you have glib build dependencies installed, including 1113s meson. 1113s ok # SKIP - glib/static-link.test 1113s # Running test: glib/error.test 1113s TAP version 14 1113s # random seed: R02S2de41780f02a887689f0b69bf1ca90a2 1113s 1..3 1113s # Start of error tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/system-config1:/tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/system-data1:/tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_ZPJ6Z2/error/from-errno/.dirs/runtime 1113s ok 1 /error/from-errno 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/system-config1:/tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/system-data1:/tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_ZPJ6Z2/error/from-file-error/.dirs/runtime 1113s ok 2 /error/from-file-error 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_ZPJ6Z2/error/from-win32-error/.dirs/runtime 1113s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1113s # End of error tests 1113s ok - glib/error.test 1113s # Running test: glib/markup.test 1113s TAP version 14 1113s # random seed: R02S7ee044e42cb0f8472e052b5152cbdbdc 1113s 1..1 1113s # Start of markup tests 1113s ok 1 /markup/stack 1113s # End of markup tests 1113s ok - glib/markup.test 1113s # Running test: glib/logging.test 1113s TAP version 14 1113s # random seed: R02S82103c9ff4d0afbfae630d9be6385860 1113s 1..17 1113s # Start of logging tests 1113s ok 1 /logging/default-handler 1113s ok 2 /logging/warnings 1113s ok 3 /logging/fatal-log-mask 1113s # bu-DEBUG: message 1113s # ba-DEBUG: message 1113s # ba-INFO: message 1113s ok 4 /logging/set-handler 1113s ok 5 /logging/print-handler 1113s ok 6 /logging/printerr-handler 1113s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1113s # The Log Message Handler 1113s # 1113s # The Good Fail Message Handler 1113s # 1113s ok 7 /logging/653052 1113s ok 8 /logging/gibberish 1113s # Start of default-handler tests 1113s # Start of subprocess tests 1113s # End of subprocess tests 1113s # End of default-handler tests 1113s # End of logging tests 1113s # Start of structured-logging tests 1113s ok 9 /structured-logging/no-state 1113s ok 10 /structured-logging/some-state 1113s ok 11 /structured-logging/robustness 1113s ok 12 /structured-logging/roundtrip1 1113s ok 13 /structured-logging/roundtrip2 1113s ok 14 /structured-logging/roundtrip3 1113s ok 15 /structured-logging/variant1 1113s ok 16 /structured-logging/variant2 1113s ok 17 /structured-logging/set-writer-func-twice 1113s # End of structured-logging tests 1113s ok - glib/logging.test 1113s # Running test: glib/closure.test 1113s TAP version 14 1113s # random seed: R02S603f35f8b99de9f61c4162d899a75c73 1113s 1..6 1113s # Start of closure tests 1113s ok 1 /closure/idle 1113s ok 2 /closure/timeout 1113s ok 3 /closure/iochannel 1113s ok 4 /closure/child 1113s ok 5 /closure/fd 1113s ok 6 /closure/signal 1113s # End of closure tests 1113s ok - glib/closure.test 1113s # Running test: glib/portal-support-snap.test 1113s TAP version 14 1113s # random seed: R02Sf62d751b7b922c50b57b9fa429abed20 1113s 1..7 1113s # Start of portal-support tests 1113s # Start of snap tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/no-snapctl: No such file or directory 1113s ok 1 /portal-support/snap/no-snapctl 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none/.dirs/runtime/snapctl 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/none: No such file or directory 1113s ok 2 /portal-support/snap/none 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all/.dirs/runtime/snapctl 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/all: No such file or directory 1113s ok 3 /portal-support/snap/all 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/desktop-only: No such file or directory 1113s ok 4 /portal-support/snap/desktop-only 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only/.dirs/runtime/snapctl 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/network-only: No such file or directory 1113s ok 5 /portal-support/snap/network-only 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/gsettings-only: No such file or directory 1113s ok 6 /portal-support/snap/gsettings-only 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime 1113s # Created snap.yaml in /tmp/test_portal-support-snap_H8WJ02/meta/snap.yaml 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s # Created snapctl in /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02/portal-support/snap/updates-dynamically: No such file or directory 1113s ok 7 /portal-support/snap/updates-dynamically 1113s # End of snap tests 1113s # End of portal-support tests 1113s Unable to clean up temporary directory /tmp/test_portal-support-snap_H8WJ02: No such file or directory 1113s ok - glib/portal-support-snap.test 1113s # Running test: glib/string.test 1113s TAP version 14 1113s # random seed: R02S49ae441de7bc91d8376d338cd4fe3695 1113s 1..23 1113s # Start of string tests 1113s ok 1 /string/test-string-chunks 1113s ok 2 /string/test-string-chunk-insert 1113s ok 3 /string/test-string-new 1113s ok 4 /string/test-string-printf 1113s ok 5 /string/test-string-assign 1113s ok 6 /string/test-string-append-c 1113s ok 7 /string/test-string-append 1113s ok 8 /string/test-string-append-vprintf 1113s ok 9 /string/test-string-prepend-c 1113s ok 10 /string/test-string-prepend 1113s ok 11 /string/test-string-insert 1113s ok 12 /string/test-string-insert-unichar 1113s ok 13 /string/test-string-equal 1113s ok 14 /string/test-string-truncate 1113s ok 15 /string/test-string-overwrite 1113s ok 16 /string/test-string-nul-handling 1113s ok 17 /string/test-string-up-down 1113s ok 18 /string/test-string-set-size 1113s ok 19 /string/test-string-to-bytes 1113s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1113s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1113s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1113s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1113s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1113s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1113s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1113s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1113s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1113s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1113s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1113s # -> 4 replacements, "fd fr fals" 1113s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1113s # -> 3 replacements, "aaaaaaaaa" 1113s # 7: Replacing "a" with "" (limit 0) in "aaa" 1113s # -> 3 replacements, "" 1113s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1113s # -> 1 replacements, "bba" 1113s # 9: Replacing "" with "bar" (limit 0) in "foo" 1113s # -> 4 replacements, "barfbarobarobar" 1113s # 10: Replacing "" with "x" (limit 0) in "" 1113s # -> 1 replacements, "x" 1113s # 11: Replacing "" with "" (limit 0) in "" 1113s # -> 1 replacements, "" 1113s ok 20 /string/test-string-replace 1113s ok 21 /string/test-string-steal 1113s ok 22 /string/test-string-new-take 1113s # Start of test-string-new-take tests 1113s ok 23 /string/test-string-new-take/null 1113s # End of test-string-new-take tests 1113s # End of string tests 1113s ok - glib/string.test 1113s # Running test: glib/memory-monitor-portal.test 1114s # Executing: glib/memory-monitor-portal.test 1114s TAP version 13 1114s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1114s 1..1 1114s ok - glib/memory-monitor-portal.test 1114s # Running test: glib/dynamictype.test 1114s TAP version 14 1114s # random seed: R02S3bf6f7ed26ce68833ab77149a7d12442 1114s 1..2 1114s # Start of gobject tests 1114s ok 1 /gobject/dynamic-type 1114s # Start of dynamic-type tests 1114s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1114s ok 2 /gobject/dynamic-type/query 1114s # End of dynamic-type tests 1114s # End of gobject tests 1114s ok - glib/dynamictype.test 1114s # Running test: glib/notify-init2.test 1114s TAP version 14 1114s # random seed: R02Sb360585fb75e9bbf37db23b23c07961d 1114s 1..1 1114s # Start of properties tests 1114s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1114s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1114s ok 1 /properties/notify-in-init2 1114s # End of properties tests 1114s ok - glib/notify-init2.test 1114s # Running test: glib/gdbus-addresses.test 1114s TAP version 14 1114s # random seed: R02Sf73e7ff487fd3c21aa1f0d0350b9a71a 1114s 1..9 1114s # Start of gdbus tests 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/empty-address/.dirs/runtime 1114s ok 1 /gdbus/empty-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unsupported-address/.dirs/runtime 1114s ok 2 /gdbus/unsupported-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/address-parsing/.dirs/runtime 1114s ok 3 /gdbus/address-parsing 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/unix-address/.dirs/runtime 1114s ok 4 /gdbus/unix-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/nonce-tcp-address/.dirs/runtime 1114s ok 5 /gdbus/nonce-tcp-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/tcp-address/.dirs/runtime 1114s ok 6 /gdbus/tcp-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/autolaunch-address/.dirs/runtime 1114s ok 7 /gdbus/autolaunch-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/mixed-address/.dirs/runtime 1114s ok 8 /gdbus/mixed-address 1114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/home 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/cache 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/system-config2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/config 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/system-data2 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/data 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/state 1114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_K3Z4Z2/gdbus/escape-address/.dirs/runtime 1114s ok 9 /gdbus/escape-address 1114s # End of gdbus tests 1114s ok - glib/gdbus-addresses.test 1114s # Running test: glib/atomic.test 1114s TAP version 14 1114s # random seed: R02Sce09cc3d03ea74c7de191d8580c23505 1114s 1..2 1114s # Start of atomic tests 1114s ok 1 /atomic/types 1114s ok 2 /atomic/threaded 1114s # End of atomic tests 1114s ok - glib/atomic.test 1114s # Running test: glib/buffered-output-stream.test 1114s TAP version 14 1114s # random seed: R02S15b8cc8b7dc465d59271421f7296f002 1114s 1..5 1114s # Start of buffered-output-stream tests 1114s ok 1 /buffered-output-stream/write 1114s ok 2 /buffered-output-stream/grow 1114s ok 3 /buffered-output-stream/seek 1114s ok 4 /buffered-output-stream/truncate 1114s # End of buffered-output-stream tests 1114s # Start of filter-output-stream tests 1114s ok 5 /filter-output-stream/close 1114s # End of filter-output-stream tests 1114s ok - glib/buffered-output-stream.test 1114s # Running test: glib/power-profile-monitor-portal.test 1115s TAP version 13 1115s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1115s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1115s 1..2 1115s ok - glib/power-profile-monitor-portal.test 1115s # Running test: glib/date.test 1115s TAP version 14 1115s # random seed: R02Sd2b10432c37f9a25909c31b91e94b891 1115s 1..121 1115s # Start of date tests 1115s ok 1 /date/basic 1115s ok 2 /date/empty 1115s ok 3 /date/dmy 1115s ok 4 /date/julian 1115s ok 5 /date/compare 1115s ok 6 /date/dates 1115s ok 7 /date/strftime 1115s ok 8 /date/two-digit-years 1115s ok 9 /date/parse 1115s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1115s ok 11 /date/month_substring 1115s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1115s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1115s ok 13 /date/clamp 1115s ok 14 /date/order 1115s ok 15 /date/copy 1115s # Vector 0: 0000-00-00, invalid 1115s # Vector 1: 0001-01-01, valid 1115s # Vector 2: 0000-01-01, invalid 1115s # Vector 3: 2000-02-30, invalid 1115s # Vector 4: 2000-02-29, valid 1115s # Vector 5: 2001-02-29, invalid 1115s # Vector 6: 65535-01-01, valid 1115s ok 16 /date/valid-dmy 1115s # Start of parse tests 1115s # Test 0 1115s # Test 1 1115s ok 17 /date/parse/invalid 1115s # End of parse tests 1115s # Start of year tests 1115s ok 18 /date/year/1 1115s ok 19 /date/year/2 1115s ok 20 /date/year/3 1115s ok 21 /date/year/4 1115s ok 22 /date/year/5 1115s ok 23 /date/year/6 1115s ok 24 /date/year/7 1115s ok 25 /date/year/8 1115s ok 26 /date/year/9 1115s ok 27 /date/year/10 1115s ok 28 /date/year/11 1115s ok 29 /date/year/12 1115s ok 30 /date/year/13 1115s ok 31 /date/year/14 1115s ok 32 /date/year/98 1115s ok 33 /date/year/99 1115s ok 34 /date/year/100 1115s ok 35 /date/year/101 1115s ok 36 /date/year/102 1115s ok 37 /date/year/103 1115s ok 38 /date/year/397 1115s ok 39 /date/year/398 1115s ok 40 /date/year/399 1115s ok 41 /date/year/400 1115s ok 42 /date/year/401 1115s ok 43 /date/year/402 1115s ok 44 /date/year/403 1115s ok 45 /date/year/404 1115s ok 46 /date/year/405 1115s ok 47 /date/year/406 1115s ok 48 /date/year/1598 1115s ok 49 /date/year/1599 1115s ok 50 /date/year/1600 1115s ok 51 /date/year/1601 1115s ok 52 /date/year/1602 1115s ok 53 /date/year/1650 1115s ok 54 /date/year/1651 1115s ok 55 /date/year/1897 1115s ok 56 /date/year/1898 1115s ok 57 /date/year/1899 1115s ok 58 /date/year/1900 1115s ok 59 /date/year/1901 1115s ok 60 /date/year/1902 1115s ok 61 /date/year/1903 1115s ok 62 /date/year/1961 1115s ok 63 /date/year/1962 1115s ok 64 /date/year/1963 1115s ok 65 /date/year/1964 1115s ok 66 /date/year/1965 1115s ok 67 /date/year/1967 1115s ok 68 /date/year/1968 1115s ok 69 /date/year/1969 1115s ok 70 /date/year/1970 1115s ok 71 /date/year/1971 1115s ok 72 /date/year/1972 1115s ok 73 /date/year/1973 1115s ok 74 /date/year/1974 1115s ok 75 /date/year/1975 1115s ok 76 /date/year/1976 1115s ok 77 /date/year/1977 1115s ok 78 /date/year/1978 1115s ok 79 /date/year/1979 1115s ok 80 /date/year/1980 1115s ok 81 /date/year/1981 1115s ok 82 /date/year/1982 1115s ok 83 /date/year/1983 1115s ok 84 /date/year/1984 1115s ok 85 /date/year/1985 1115s ok 86 /date/year/1986 1115s ok 87 /date/year/1987 1115s ok 88 /date/year/1988 1115s ok 89 /date/year/1989 1115s ok 90 /date/year/1990 1115s ok 91 /date/year/1991 1115s ok 92 /date/year/1992 1115s ok 93 /date/year/1993 1115s ok 94 /date/year/1994 1115s ok 95 /date/year/1995 1115s ok 96 /date/year/1996 1115s ok 97 /date/year/1997 1115s ok 98 /date/year/1998 1115s ok 99 /date/year/1999 1115s ok 100 /date/year/2000 1115s ok 101 /date/year/2001 1115s ok 102 /date/year/2002 1115s ok 103 /date/year/2003 1115s ok 104 /date/year/2004 1115s ok 105 /date/year/2005 1115s ok 106 /date/year/2006 1115s ok 107 /date/year/2007 1115s ok 108 /date/year/2008 1115s ok 109 /date/year/2009 1115s ok 110 /date/year/2010 1115s ok 111 /date/year/2011 1115s ok 112 /date/year/2012 1115s ok 113 /date/year/3000 1115s ok 114 /date/year/3001 1115s ok 115 /date/year/3002 1115s ok 116 /date/year/3998 1115s ok 117 /date/year/3999 1115s ok 118 /date/year/4000 1115s ok 119 /date/year/4001 1115s ok 120 /date/year/4002 1115s ok 121 /date/year/4003 1115s # End of year tests 1115s # End of date tests 1115s ok - glib/date.test 1115s # Running test: glib/objects-refcount1.test 1115s TAP version 14 1115s # random seed: R02S5c34c8310a85f69f40daf99aa4d662ef 1115s 1..1 1115s # Start of gobject tests 1115s # Start of refcount tests 1115s # init 0x8b0ac47e740 1115s # 1115s # init 0x8b0ac47e8d0 1115s # 1119s # Executing: glib/objects-refcount1.test 1120s # dispose 0x8b0ac47e740! 1120s # 1120s # dispose 0x8b0ac47e8d0! 1120s # 1120s ok 1 /gobject/refcount/object-basics 1120s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1120s # End of refcount tests 1120s # End of gobject tests 1120s ok - glib/objects-refcount1.test 1120s # Running test: glib/gdbus-test-codegen.test 1120s TAP version 14 1120s # random seed: R02S3844e78076fe1839907d79e51a3a7c40 1120s 1..8 1120s # Start of gdbus tests 1120s # Start of codegen tests 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/annotations/.dirs/runtime 1120s ok 1 /gdbus/codegen/annotations 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/interface_stability/.dirs/runtime 1120s ok 2 /gdbus/codegen/interface_stability 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/object-manager/.dirs/runtime 1120s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1120s ok 3 /gdbus/codegen/object-manager 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/property-naming/.dirs/runtime 1120s ok 4 /gdbus/codegen/property-naming 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/autocleanups/.dirs/runtime 1120s ok 5 /gdbus/codegen/autocleanups 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/deprecations/.dirs/runtime 1120s ok 6 /gdbus/codegen/deprecations 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1120s ok 7 /gdbus/codegen/standalone-interface-info 1120s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/home 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/config 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/data 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/state 1120s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UJ16Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1120s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1120s ok 8 /gdbus/codegen/unix-fd-list 1120s # End of codegen tests 1120s # End of gdbus tests 1120s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1120s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1120s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1120s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1120s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1120s ok - glib/gdbus-test-codegen.test 1120s # Running test: glib/thread-deprecated.test 1120s TAP version 14 1120s # random seed: R02S56a000cc30c35291fb6ab1bd96578551 1120s 1..6 1120s # Start of thread tests 1120s ok 1 /thread/mutex 1121s ok 2 /thread/static-rec-mutex 1124s # Executing: glib/thread-deprecated.test 1125s ok 3 /thread/static-private 1125s # slow test /thread/static-private executed in 4.41 secs 1129s # Executing: glib/thread-deprecated.test 1130s ok 4 /thread/static-rw-lock 1130s # slow test /thread/static-rw-lock executed in 5.00 secs 1130s ok 5 /thread/once 1134s # Executing: glib/thread-deprecated.test 1139s # Executing: glib/thread-deprecated.test 1140s ok 6 /thread/rerun-all 1140s # slow test /thread/rerun-all executed in 9.83 secs 1140s # End of thread tests 1140s ok - glib/thread-deprecated.test 1140s # Running test: glib/tls-bindings.test 1140s TAP version 14 1140s # random seed: R02Scc18e3a7d03d6d12cb2a8e38a1a0505c 1140s 1..2 1140s # Start of tls-connection tests 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1140s ok 1 /tls-connection/get-tls-channel-binding 1140s ok 2 /tls-connection/get-dtls-channel-binding 1140s # End of tls-connection tests 1140s ok - glib/tls-bindings.test 1140s # Running test: glib/gnotification.test 1140s TAP version 14 1140s # random seed: R02Sda7a45df4466246926630b8ff7b96341 1140s 1..2 1140s # Start of gnotification tests 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s ok 1 /gnotification/basic 1140s ok 2 /gnotification/properties 1140s # End of gnotification tests 1140s ok - glib/gnotification.test 1140s # Running test: glib/socket-listener.test 1140s TAP version 14 1140s # random seed: R02S64467f8ccdc9859574fbf7f54fc5b52f 1140s 1..1 1140s # Start of socket-listener tests 1140s ok 1 /socket-listener/event-signal 1140s # End of socket-listener tests 1140s ok - glib/socket-listener.test 1140s # Running test: glib/resources.test 1140s TAP version 14 1140s # random seed: R02S698e734a4358bd7502a1f5dbfda96b5d 1140s 1..17 1140s # Start of resource tests 1140s ok 1 /resource/file 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1140s ok 2 /resource/file-path 1140s ok 3 /resource/data 1140s ok 4 /resource/data_unaligned 1140s ok 5 /resource/data-corrupt 1140s ok 6 /resource/data-empty 1140s ok 7 /resource/registered 1140s ok 8 /resource/manual 1140s ok 9 /resource/manual2 1140s ok 10 /resource/automatic 1140s ok 11 /resource/module 1140s ok 12 /resource/binary-linked 1140s ok 13 /resource/64k 1140s GLib-GIO-Message: 11:14:23.477: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1140s ok 14 /resource/overlay 1140s ok 15 /resource/digits 1140s # Start of uri tests 1140s ok 16 /resource/uri/query-info 1140s ok 17 /resource/uri/file 1140s # End of uri tests 1140s # End of resource tests 1140s ok - glib/resources.test 1140s # Running test: glib/live-g-file.test 1140s TAP version 14 1140s # random seed: R02Se26e17bf6e34a4f9ceba7a35ad0c3442 1140s 1..13 1140s # Start of live-g-file tests 1140s # Cleaning target testing structure in 'testdir_live-g-file'... 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1140s ok 1 /live-g-file/prep_clean_structure 1140s # 1140s # Going to create testing structure in 'testdir_live-g-file'... 1140s # Creating directory 'dir1'... 1140s # Creating directory 'dir1/subdir'... 1140s # Creating directory 'dir2'... 1140s # Creating directory 'dir-target'... 1140s # Creating directory 'dir_no-access'... 1140s # Creating directory 'dir_no-write'... 1140s # Creating file 'target-file'... 1140s # Creating file 'normal_file'... 1140s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1140s # Creating file 'executable_file'... 1140s # Creating file 'private_file'... 1140s # Creating file 'normal_file2'... 1140s # Creating file 'readonly_file'... 1140s # Creating file 'UTF_pr?i?lis? z'... 1140s # Creating directory 'dir_pr?i?lis? z'... 1140s # Creating symlink 'lost_symlink' --> 'nowhere'... 1140s # Creating directory 'dir_hidden'... 1140s # Creating file 'dir_hidden/.a-hidden-file'... 1140s # Creating file 'dir_hidden/file-in-.hidden1'... 1140s # Creating file 'dir_hidden/file-in-.hidden2'... 1140s # Creating pattern file... 1140s # done. 1140s ok 2 /live-g-file/create_structure 1140s # Testing sample structure in 'testdir_live-g-file'... 1140s # Testing file 'dir1'... 1140s # Testing file 'dir1/subdir'... 1140s # Testing file 'dir2'... 1140s # Testing file 'dir-target'... 1140s # Testing file 'dir_no-access'... 1140s # Testing file 'dir_no-write'... 1140s # Testing file 'target-file'... 1140s # Testing file 'normal_file'... 1140s # Testing file 'normal_file-symlink'... 1140s # Testing file 'executable_file'... 1140s # Testing file 'private_file'... 1140s # Testing file 'normal_file2'... 1140s # Testing file 'readonly_file'... 1140s # Testing file 'UTF_pr?i?lis? z'... 1140s # Testing file 'dir_pr?i?lis? z'... 1140s # Testing file 'lost_symlink'... 1140s # Testing file 'dir_hidden'... 1140s # Testing file 'dir_hidden/.a-hidden-file'... 1140s # Testing file 'dir_hidden/file-in-.hidden1'... 1140s # Testing file 'dir_hidden/file-in-.hidden2'... 1140s # Testing pattern file... 1140s # read 65536 bytes, total = 65536 of 65536. 1140s ok 3 /live-g-file/test_initial_structure 1140s # Traversing through the sample structure in 'testdir_live-g-file'... 1140s # Found file dir1, relative to root: dir1 1140s # Found file subdir, relative to root: dir1/subdir 1140s # Found file dir2, relative to root: dir2 1140s # Found file dir-target, relative to root: dir-target 1140s # Found file dir_no-access, relative to root: dir_no-access 1140s # Found file dir_no-write, relative to root: dir_no-write 1140s # Found file target-file, relative to root: target-file 1140s # Found file normal_file, relative to root: normal_file 1140s # Found file normal_file-symlink, relative to root: normal_file-symlink 1140s # Found file executable_file, relative to root: executable_file 1140s # Found file private_file, relative to root: private_file 1140s # Found file normal_file2, relative to root: normal_file2 1140s # Found file readonly_file, relative to root: readonly_file 1140s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1140s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1140s # Found file lost_symlink, relative to root: lost_symlink 1140s # Found file dir_hidden, relative to root: dir_hidden 1140s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1140s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1140s # Found file .hidden, relative to root: dir_hidden/.hidden 1140s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1140s # Found file pattern_file, relative to root: pattern_file 1140s ok 4 /live-g-file/test_traverse_structure 1140s # Test enumerate 'testdir_live-g-file'... 1140s # Testing file 'dir_no-access' 1140s # Testing file 'normal_file' 1140s # Testing file 'normal_file-symlink' 1140s # Testing file 'not_exists' 1140s # Testing file 'not_exists' 1140s # Testing file 'not_exists2' 1140s # Testing file 'not_exists3' 1140s # Testing file 'not_exists4' 1140s # Testing file 'dir_no-execute/file' 1140s ok 5 /live-g-file/test_enumerate 1140s # test_open: 'dir1' 1140s # test_open: 'dir_no-access' 1140s # test_open: 'target-file' 1140s # test_open: 'normal_file-symlink' 1140s # test_open: 'executable_file' 1140s # test_open: 'private_file' 1140s # test_open: 'readonly_file' 1140s # test_open: 'UTF_pr?i?lis? z' 1140s # test_open: 'pattern_file' 1140s # test_open: 'not_exists' 1140s # test_open: 'dir_no-execute/file' 1140s # test_open: 'lost_symlink' 1140s ok 6 /live-g-file/test_open 1140s # test_create: 'dir1' 1140s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir1?: Is a directory 1140s # test_create: 'dir1/subdir' 1140s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir1/subdir?: Is a directory 1140s # test_create: 'dir2' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir2?: File exists 1140s # test_create: 'normal_file' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/normal_file?: File exists 1140s # test_create: 'executable_file' 1140s # test_create: 'private_file' 1140s # test_create: 'normal_file2' 1140s # test_create: 'UTF_pr?i?lis? z' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1140s # test_create: 'dir_pr?i?lis? z' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1140s # test_create: 'pattern_file' 1140s # test_create: 'not_exists2' 1140s # test_create: 'not_exists3' 1140s # test_create: 'not_exists4' 1140s ok 7 /live-g-file/test_create 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> '.' 1140s # res = 0, error code 2 = Target file exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'target-file' 1140s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir2' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'dir-target' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> '.' 1140s # res = 0, error code 2 = Target file exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'target-file' 1140s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/dir-target?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'not_exists' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'dir_no-access' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'dir_no-write' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/target-file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> '.' 1140s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/normal_file-symlink: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1140s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1140s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/executable_file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/executable_file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/private_file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/private_file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/normal_file2?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/pattern_file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir-target' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> '.' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'target-file' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'not_exists' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir_no-access' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir_no-write' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir-target' 1140s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> '.' 1140s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/lost_symlink: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'target-file' 1140s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'not_exists' 1140s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1140s ok 8 /live-g-file/test_copy_move 1140s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir1 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir1: Directory not empty 1140s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir2 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir2: No such file or directory 1140s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/executable_file 1140s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/readonly_file 1140s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_pr?i?lis? z 1140s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists: No such file or directory 1140s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists 1140s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/not_exists: No such file or directory 1140s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-execute/file 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1140s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-TGS5Z2/testdir_live-g-file/lost_symlink 1140s ok 9 /live-g-file/test_delete 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s ok 10 /live-g-file/test_make_directory_with_parents 1140s # Cleaning target testing structure in 'testdir_live-g-file'... 1140s # deleting 'dir1' 1140s # deleting 'subdir' 1140s # deleting 'dir-target' 1140s # deleting 'dir2' 1140s # deleting 'target-file' 1140s # deleting 'normal_file-symlink' 1140s # deleting 'pattern_file' 1140s # deleting 'executable_file' 1140s # deleting 'private_file' 1140s # deleting 'normal_file2' 1140s # deleting 'UTF_pr?i?lis? z' 1140s # deleting 'lost_symlink' 1140s # deleting 'dir_no-access' 1140s # deleting 'dir_no-write' 1140s # deleting 'target-file' 1140s # deleting 'normal_file' 1140s # deleting 'normal_file-symlink' 1140s # deleting 'executable_file~' 1140s # deleting 'private_file' 1140s # deleting 'normal_file2~' 1140s # deleting 'a' 1140s # deleting 'UTF_pr?i?lis? z' 1140s # deleting 'dir_hidden' 1140s # deleting '.a-hidden-file' 1140s # deleting 'file-in-.hidden1' 1140s # deleting '.hidden' 1140s # deleting 'file-in-.hidden2' 1140s # deleting 'pattern_file' 1140s # deleting 'normal_file2' 1140s # deleting 'not_exists2' 1140s # deleting 'not_exists3' 1140s # deleting 'not_exists4' 1140s ok 11 /live-g-file/final_clean 1140s # Start of test_unix_is_mountpoint tests 1140s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1140s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1140s # End of test_unix_is_mountpoint tests 1140s # End of live-g-file tests 1140s ok - glib/live-g-file.test 1140s # Running test: glib/gsubprocess.test 1140s TAP version 14 1140s # random seed: R02S72126bdb4f64237a9bcd71d8ac4085b7 1140s 1..83 1140s # Start of gsubprocess tests 1140s ok 1 /gsubprocess/noop 1140s ok 2 /gsubprocess/noop-all-to-null 1140s ok 3 /gsubprocess/noop-no-wait 1140s ok 4 /gsubprocess/noop-stdin-inherit 1140s ok 5 /gsubprocess/search-path 1140s ok 6 /gsubprocess/search-path-from-envp 1144s # Executing: glib/gsubprocess.test 1144s ok 7 /gsubprocess/signal 1144s # slow test /gsubprocess/signal executed in 3.48 secs 1144s ok 8 /gsubprocess/exit1 1144s ok 9 /gsubprocess/echo1 1144s ok 10 /gsubprocess/echo-merged 1144s ok 11 /gsubprocess/cat-utf8 1145s ok 12 /gsubprocess/cat-eof 1145s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1148s ok 13 /gsubprocess/multi1 1148s # slow test /gsubprocess/multi1 executed in 3.01 secs 1148s ok 14 /gsubprocess/communicate 1149s # Executing: glib/gsubprocess.test 1151s ok 15 /gsubprocess/terminate 1151s # slow test /gsubprocess/terminate executed in 2.97 secs 1151s ok 16 /gsubprocess/env 1151s ok 17 /gsubprocess/cwd 1151s ok 18 /gsubprocess/launcher-close 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s ok 19 /gsubprocess/stdout-file 1151s ok 20 /gsubprocess/stdout-fd 1151s ok 21 /gsubprocess/child-setup 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s ok 22 /gsubprocess/launcher-environment 1151s # Start of exit1 tests 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1151s ok 23 /gsubprocess/exit1/cancel 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1151s ok 24 /gsubprocess/exit1/cancel_in_cb 1151s # End of exit1 tests 1151s # Start of communicate tests 1151s ok 25 /gsubprocess/communicate/cancelled 1151s ok 26 /gsubprocess/communicate/async 1151s ok 27 /gsubprocess/communicate/utf8 1151s # hello world 1151s ok 28 /gsubprocess/communicate/no-pipes 1151s ok 29 /gsubprocess/communicate/separate-stderr 1151s ok 30 /gsubprocess/communicate/stdout-only 1151s # hello world 1151s ok 31 /gsubprocess/communicate/stderr-only 1151s ok 32 /gsubprocess/communicate/stdout-silence 1151s ok 33 /gsubprocess/communicate/nothing 1151s # Start of async tests 1151s ok 34 /gsubprocess/communicate/async/cancelled 1151s # hello world 1151s ok 35 /gsubprocess/communicate/async/no-pipes 1151s ok 36 /gsubprocess/communicate/async/separate-stderr 1151s ok 37 /gsubprocess/communicate/async/stdout-only 1151s # hello world 1151s ok 38 /gsubprocess/communicate/async/stderr-only 1151s ok 39 /gsubprocess/communicate/async/stdout-silence 1151s # Start of cancelled tests 1151s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1151s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1151s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1151s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1151s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1151s # End of cancelled tests 1151s # End of async tests 1151s # Start of utf8 tests 1151s ok 45 /gsubprocess/communicate/utf8/cancelled 1151s ok 46 /gsubprocess/communicate/utf8/async 1151s # hello world 1151s ok 47 /gsubprocess/communicate/utf8/no-pipes 1151s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1151s ok 49 /gsubprocess/communicate/utf8/stdout-only 1151s # hello world 1151s ok 50 /gsubprocess/communicate/utf8/stderr-only 1151s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1151s ok 52 /gsubprocess/communicate/utf8/invalid 1151s # Start of async tests 1151s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1151s # hello world 1151s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1151s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1151s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1151s # hello world 1151s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1151s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1151s ok 59 /gsubprocess/communicate/utf8/async/invalid 1151s # Start of cancelled tests 1151s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1151s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1151s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1151s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1151s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1151s # End of cancelled tests 1151s # End of async tests 1151s # Start of cancelled tests 1151s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1151s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1151s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1151s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1151s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1151s # End of cancelled tests 1151s # End of utf8 tests 1151s # Start of cancelled tests 1151s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1151s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1151s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1151s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1151s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1151s # End of cancelled tests 1151s # End of communicate tests 1151s # Start of env tests 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s ok 75 /gsubprocess/env/inherit 1151s # End of env tests 1151s # Start of pass-fd tests 1151s ok 76 /gsubprocess/pass-fd/basic 1151s ok 77 /gsubprocess/pass-fd/empty-child-setup 1151s ok 78 /gsubprocess/pass-fd/inherit-fds 1151s # End of pass-fd tests 1151s # Start of fd-conflation tests 1151s ok 79 /gsubprocess/fd-conflation/basic 1151s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1151s ok 81 /gsubprocess/fd-conflation/inherit-fds 1151s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1151s # End of fd-conflation tests 1151s # Start of exit-status tests 1151s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1151s ok 83 /gsubprocess/exit-status/trapped 1151s # End of exit-status tests 1151s # End of gsubprocess tests 1151s ok - glib/gsubprocess.test 1151s # Running test: glib/binding.test 1151s TAP version 14 1151s # random seed: R02S1ffabf2b924bb2e092c189a0b49436d5 1151s 1..19 1151s # Start of binding tests 1151s ok 1 /binding/default 1151s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1151s ok 2 /binding/canonicalisation 1151s ok 3 /binding/bidirectional 1151s ok 4 /binding/transform 1151s ok 5 /binding/transform-default 1151s ok 6 /binding/transform-closure 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1151s ok 7 /binding/chain 1151s ok 8 /binding/sync-create 1151s ok 9 /binding/invert-boolean 1151s ok 10 /binding/same-object 1151s ok 11 /binding/unbind 1151s ok 12 /binding/unbind-weak 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1151s ok 13 /binding/unbind-multiple 1151s ok 14 /binding/fail 1151s ok 15 /binding/interface 1151s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1151s ok 16 /binding/concurrent-unbind 1151s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1151s ok 17 /binding/concurrent-finalizing 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1151s ok 18 /binding/dispose-source 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1151s ok 19 /binding/dispose-target 1151s # End of binding tests 1151s ok - glib/binding.test 1151s # Running test: glib/gdbus-introspection.test 1151s TAP version 14 1151s # random seed: R02Sbbccf9128d0116e3826b88d6bf7a5c65 1151s 1..4 1151s # Start of gdbus tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-parser/.dirs/runtime 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s ok 1 /gdbus/introspection-parser 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-generate/.dirs/runtime 1151s ok 2 /gdbus/introspection-generate 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-default-direction/.dirs/runtime 1151s ok 3 /gdbus/introspection-default-direction 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UWO8Z2/gdbus/introspection-extra-data/.dirs/runtime 1151s ok 4 /gdbus/introspection-extra-data 1151s # End of gdbus tests 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok - glib/gdbus-introspection.test 1151s # Running test: glib/gapplication.test 1151s TAP version 14 1151s # random seed: R02S2a1b5f084022a7b05eb468c287ca3e3e 1151s 1..24 1151s # Start of gapplication tests 1151s ok 1 /gapplication/no-dbus 1151s ok 2 /gapplication/no-appid 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 3 /gapplication/properties 1151s ok 4 /gapplication/app-id 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 5 /gapplication/quit 1151s ok 6 /gapplication/registered 1151s ok 7 /gapplication/local-actions 1151s ok 8 /gapplication/local-command-line 1151s ok 9 /gapplication/resource-path 1151s ok 10 /gapplication/test-help 1151s ok 11 /gapplication/command-line-done 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 12 /gapplication/test-busy 1151s ok 13 /gapplication/test-handle-local-options1 1151s ok 14 /gapplication/test-handle-local-options2 1151s ok 15 /gapplication/test-handle-local-options3 1151s ok 16 /gapplication/api 1151s ok 17 /gapplication/version 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # launching subprocess 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 18 /gapplication/replace 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # launching subprocess 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 19 /gapplication/no-replace 1151s # slow test /gapplication/no-replace executed in 0.51 secs 1151s # Start of dbus tests 1151s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # Message 0 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # Message 1 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # Message 2 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 20 /gapplication/dbus/activate 1151s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # Message 0 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s # Message 1 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # Message 2 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # Message 3 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 21 /gapplication/dbus/open 1151s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # Message 0 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # Message 1 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # Message 2 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s ok 22 /gapplication/dbus/command-line 1151s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1151s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1151s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s ok 23 /gapplication/dbus/command-line-done 1152s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1152s # Message 0 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 1 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 2 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 3 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 4 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 5 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 6 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 7 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 8 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 9 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 10 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # Message 11 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1152s ok 24 /gapplication/dbus/activate-action 1152s # End of dbus tests 1152s # End of gapplication tests 1152s ok - glib/gapplication.test 1152s # Running test: glib/performance-threaded.test 1152s Running test "liststore-is-a" 1153s 1947 runs, min/avg/max = 0.447/0.513/7.511 ms 1153s Running test "liststore-interface-peek" 1154s 2516 runs, min/avg/max = 0.357/0.397/9.568 ms 1154s Running test "liststore-interface-peek-same" 1154s # Executing: glib/performance-threaded.test 1155s 2557 runs, min/avg/max = 0.357/0.391/4.566 ms 1155s ok - glib/performance-threaded.test 1155s # Running test: glib/appmonitor.test 1155s TAP version 14 1155s # random seed: R02Sa3578f5f183ed4e9ca9e321297b939c1 1155s 1..1 1155s # Start of monitor tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_DVZD02/monitor/app/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_DVZD02/monitor/app/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/runtime 1155s # Using data directory: /tmp/test_appmonitor_DVZD02/monitor/app/.dirs/data 1155s ok 1 /monitor/app 1155s # End of monitor tests 1155s ok - glib/appmonitor.test 1155s # Running test: glib/memory-monitor-dbus.test 1155s TAP version 13 1155s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1155s 1..1 1155s ok - glib/memory-monitor-dbus.test 1155s # Running test: glib/refcount-macro.test 1155s TAP version 14 1155s # random seed: R02S38d040a29b28c5757ba52d8c817ed50a 1155s 1..4 1155s # Start of refcount tests 1155s ok 1 /refcount/grefcount 1155s ok 2 /refcount/gatomicrefcount 1155s # Start of grefcount tests 1155s ok 3 /refcount/grefcount/saturation 1155s # End of grefcount tests 1155s # Start of gatomicrefcount tests 1155s ok 4 /refcount/gatomicrefcount/saturation 1155s # End of gatomicrefcount tests 1155s # End of refcount tests 1155s ok - glib/refcount-macro.test 1155s # Running test: glib/contexts.test 1155s TAP version 14 1155s # random seed: R02S7969bb0b7caa5ae3cec60399549338cf 1155s 1..5 1155s # Start of gio tests 1155s # Start of contexts tests 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1155s ok 1 /gio/contexts/thread-independence 1155s ok 2 /gio/contexts/context-independence 1155s # Start of context-specific tests 1155s ok 3 /gio/contexts/context-specific/identity 1155s ok 4 /gio/contexts/context-specific/emit 1155s ok 5 /gio/contexts/context-specific/emit-and-unref 1155s # End of context-specific tests 1155s # End of contexts tests 1155s # End of gio tests 1155s ok - glib/contexts.test 1155s # Running test: glib/file.test 1155s TAP version 14 1155s # random seed: R02Sc9f6e73df6515115288761ce9d9bd762 1155s 1..55 1155s # Start of file tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/basic/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/basic/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/basic/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/basic/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/basic/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/basic/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/basic/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/basic/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/basic/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/basic/.dirs/runtime 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1155s ok 1 /file/basic 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/build-filename/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/build-filename/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/build-filename/.dirs/runtime 1155s ok 2 /file/build-filename 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/build-filenamev/.dirs/runtime 1155s ok 3 /file/build-filenamev 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/parent/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/parent/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/parent/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/parent/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/parent/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/parent/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/parent/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/parent/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/parent/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/parent/.dirs/runtime 1155s ok 4 /file/parent 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/child/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/child/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/child/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/child/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/child/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/child/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/child/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/child/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/child/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/child/.dirs/runtime 1155s ok 5 /file/child 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/empty-path/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/empty-path/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/empty-path/.dirs/runtime 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1155s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1155s ok 6 /file/empty-path 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/type/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/type/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/type/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/type/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/type/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/type/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/type/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/type/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/type/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/type/.dirs/runtime 1155s ok 7 /file/type 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/parse-name/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/parse-name/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/parse-name/.dirs/runtime 1155s ok 8 /file/parse-name 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/replace-load/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/replace-load/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/replace-load/.dirs/runtime 1155s ok 9 /file/replace-load 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/replace-cancel/.dirs/runtime 1155s # Bug Reference: https://bugzilla.gnome.org/629301 1155s ok 10 /file/replace-cancel 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/replace-symlink/.dirs/runtime 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1155s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1155s # Using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_symlink_73F6Z2 1155s ok 11 /file/replace-symlink 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-new-tmp/.dirs/runtime 1155s ok 12 /file/async-new-tmp 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-new-tmp-dir/.dirs/runtime 1155s ok 13 /file/async-new-tmp-dir 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-delete/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-delete/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-delete/.dirs/runtime 1155s ok 14 /file/async-delete 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-make-symlink/.dirs/runtime 1155s ok 15 /file/async-make-symlink 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/copy-preserve-mode/.dirs/runtime 1155s # Current umask: 2 1155s # Vector 0 1155s # Vector 1 1155s # Vector 2 1155s # Vector 3 1155s # Vector 4 1155s # Vector 5 1155s # Vector 6 1155s # Vector 7 1155s # Vector 8 1155s # Vector 9 1155s # Vector 10 1155s ok 16 /file/copy-preserve-mode 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/copy-async-with-closures/.dirs/runtime 1155s ok 17 /file/copy-async-with-closures 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/measure/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/measure/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/measure/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/measure/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/measure/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/measure/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/measure/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/measure/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/measure/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/measure/.dirs/runtime 1155s ok 18 /file/measure 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/measure-async/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/measure-async/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/measure-async/.dirs/runtime 1155s ok 19 /file/measure-async 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/load-bytes/.dirs/runtime 1155s ok 20 /file/load-bytes 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/load-bytes-async/.dirs/runtime 1155s ok 21 /file/load-bytes-async 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/load-bytes-4gb/.dirs/runtime 1155s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/load-contents-4gb/.dirs/runtime 1155s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/load-contents-4gb-async/.dirs/runtime 1155s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/.dirs/runtime 1155s ok 25 /file/writev 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/build-attribute-list-for-copy/.dirs/runtime 1155s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1155s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1155s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,time::modified,time::modified-nsec,time::modified-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1155s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,time::modified,time::modified-nsec,time::modified-usec,unix::gid,unix::uid,xattr::*,xattr-sys::* 1155s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1155s # Attributes for copy: standard::size,xattr::* 1155s # Attributes for copy: standard::size,unix::mode,xattr::* 1155s ok 26 /file/build-attribute-list-for-copy 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/move_async/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/move_async/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/move_async/.dirs/runtime 1155s ok 27 /file/move_async 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/move-async-with-closures/.dirs/runtime 1155s ok 28 /file/move-async-with-closures 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/query-zero-length-content-type/.dirs/runtime 1155s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1155s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1155s ok 29 /file/query-zero-length-content-type 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/runtime 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/data/applications 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/config 1155s ok 30 /file/query-default-handler-file 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/runtime 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/data/applications 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/config 1155s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6TZ5Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/config 1155s ok 31 /file/query-default-handler-file-async 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/runtime 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/data/applications 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/config 1155s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6TZ5Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/config 1155s ok 32 /file/query-default-handler-uri 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/runtime 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/data/applications 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/config 1155s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6TZ5Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/config 1155s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6TZ5Z2/file/query-default-handler-uri-async/.dirs/config 1155s ok 33 /file/query-default-handler-uri-async 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/enumerator-cancellation/.dirs/runtime 1155s ok 34 /file/enumerator-cancellation 1155s # Start of async-create-delete tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-create-delete/0/.dirs/runtime 1155s ok 35 /file/async-create-delete/0 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-create-delete/1/.dirs/runtime 1155s ok 36 /file/async-create-delete/1 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-create-delete/10/.dirs/runtime 1155s ok 37 /file/async-create-delete/10 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-create-delete/25/.dirs/runtime 1156s ok 38 /file/async-create-delete/25 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/async-create-delete/4096/.dirs/runtime 1156s ok 39 /file/async-create-delete/4096 1156s # End of async-create-delete tests 1156s # Start of replace-symlink tests 1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/home 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/cache 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/system-config2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/config 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/system-data2 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/data 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/state 1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/replace-symlink/using-etag/.dirs/runtime 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1156s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1156s # Using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_symlink_using_etag_X1FG02 1158s ok 40 /file/replace-symlink/using-etag 1158s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1158s # End of replace-symlink tests 1158s # Start of replace tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/replace/write-only/.dirs/runtime 1158s # /file/replace/write-only summary: Test various situations for g_file_replace() 1158s # Current umask: 2 1158s # Test 0, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_STBH02 1158s # Test 1, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_2PBH02 1158s # Test 2, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_GFEH02 1158s # Test 3, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_HCKH02 1158s # Test 4, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_ZRXG02 1158s # Test 5, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_DW2C02 1158s # Test 6, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_7F3C02 1158s # Test 7, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_KY6C02 1158s # Test 8, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_3I6C02 1158s # Test 9, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_2C6C02 1158s # Test 10, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_8G9C02 1158s # Test 11, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_80CD02 1158s # Test 12, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_AZCD02 1158s # Test 13, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_9QCD02 1158s # Test 14, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_TWUC02 1158s # Test 15, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_M7VC02 1158s # Test 16, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_1GXC02 1158s # Test 17, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_TG1C02 1158s # Test 18, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_BMVD02 1158s # Test 19, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_1EZD02 1158s # Test 20, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_UM2D02 1158s # Test 21, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_9IGD02 1158s # Test 22, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_10JD02 1158s # Test 23, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_ZTJD02 1158s # Test 24, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_4GMD02 1158s # Test 25, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_2IQD02 1158s # Test 26, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_KDQD02 1158s # Test 27, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_W5PD02 1158s # Test 28, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_K4IE02 1158s # Test 29, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_BKJE02 1158s # Test 30, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_LGJE02 1158s # Test 31, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_EGME02 1158s # Test 32, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_0SME02 1158s # Test 33, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_RMSE02 1158s # Test 34, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_8FSE02 1158s # Test 35, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_Q9RE02 1158s # Test 36, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_5Z5D02 1158s # Test 37, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_YT9D02 1158s # Test 38, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_NXAE02 1158s # Test 39, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_Z9BE02 1158s # Test 40, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_9IFE02 1158s # Test 41, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_UY9E02 1158s # Test 42, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_289E02 1158s # Test 43, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_3UFF02 1158s # Test 44, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_7YTE02 1158s # Test 45, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_PPTE02 1158s # Test 46, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_BPUE02 1158s # Test 47, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_CJUE02 1158s # Test 48, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_R3VE02 1158s # We do not have CAP_DAC_OVERRIDE or equivalent 1158s ok 41 /file/replace/write-only 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/replace/read-write/.dirs/runtime 1158s # /file/replace/read-write summary: Test various situations for g_file_replace() 1158s # Current umask: 2 1158s # Test 0, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_CLYE02 1158s # Test 1, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_CEYE02 1158s # Test 2, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_R6YE02 1158s # Test 3, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_7D3E02 1158s # Test 4, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_U82E02 1158s # Test 5, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_N02E02 1158s # Test 6, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_I73E02 1158s # Test 7, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_QMBA02 1158s # Test 8, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_L2AA02 1158s # Test 9, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_DWAA02 1158s # Test 10, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_5FEA02 1158s # Test 11, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_MQFA02 1158s # Test 12, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_6KFA02 1158s # Test 13, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_FDFA02 1158s # Test 14, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_25IA02 1158s # Test 15, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_W0JA02 1158s # Test 16, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_HXV9Z2 1158s # Test 17, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_B7X9Z2 1158s # Test 18, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_HO19Z2 1158s # Test 19, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_7719Z2 1158s # Test 20, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_YW59Z2 1158s # Test 21, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_1RYA02 1158s # Test 22, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_S41A02 1158s # Test 23, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_OV1A02 1158s # Test 24, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_7J5A02 1158s # Test 25, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_SC4A02 1158s # Test 26, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_563A02 1158s # Test 27, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_776A02 1158s # Test 28, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_97NA02 1158s # Test 29, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_DDOA02 1158s # Test 30, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_NDRA02 1158s # Test 31, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_F6QA02 1158s # Test 32, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_F5RA02 1158s # Test 33, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_83VA02 1158s # Test 34, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_1YVA02 1158s # Test 35, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_IUVA02 1158s # Test 36, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_CDWA02 1158s # Test 37, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_R8OB02 1158s # Test 38, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_82RB02 1158s # Test 39, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_P3VB02 1158s # Test 40, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_U0WB02 1158s # Test 41, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_V0BB02 1158s # Test 42, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_GGCB02 1159s # Test 43, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_FBGB02 1159s # Test 44, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_IQMB02 1159s # Test 45, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_0IMB02 1159s # Test 46, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_M0EC02 1159s # Test 47, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_ATEC02 1159s # Test 48, using temporary directory /tmp/test_file_6TZ5Z2/g_file_replace_7VGC02 1159s # We do not have CAP_DAC_OVERRIDE or equivalent 1159s ok 42 /file/replace/read-write 1159s # End of replace tests 1159s # Start of copy tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/copy/progress/.dirs/runtime 1159s ok 43 /file/copy/progress 1159s # End of copy tests 1159s # Start of writev tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/no-bytes-written/.dirs/runtime 1159s ok 44 /file/writev/no-bytes-written 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/no-vectors/.dirs/runtime 1159s ok 45 /file/writev/no-vectors 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/empty-vectors/.dirs/runtime 1159s ok 46 /file/writev/empty-vectors 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/too-big-vectors/.dirs/runtime 1159s ok 47 /file/writev/too-big-vectors 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/async/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/async/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/async/.dirs/runtime 1159s ok 48 /file/writev/async 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/async_all/.dirs/runtime 1159s ok 49 /file/writev/async_all 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1159s ok 50 /file/writev/async_all-empty-vectors 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/async_all-no-vectors/.dirs/runtime 1159s ok 51 /file/writev/async_all-no-vectors 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1159s ok 52 /file/writev/async_all-to-big-vectors 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/writev/async_all-cancellation/.dirs/runtime 1159s ok 53 /file/writev/async_all-cancellation 1159s # End of writev tests 1159s # Start of from-uri tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-query-string/.dirs/runtime 1159s ok 54 /file/from-uri/ignores-query-string 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6TZ5Z2/file/from-uri/ignores-fragment/.dirs/runtime 1159s ok 55 /file/from-uri/ignores-fragment 1159s # End of from-uri tests 1159s # End of file tests 1159s ok - glib/file.test 1159s # Running test: glib/singleton.test 1159s TAP version 14 1159s # random seed: R02S3ad39ba4304f8462ab516871e8501431 1159s 1..2 1159s # Start of gobject tests 1159s # Start of singleton tests 1159s ok 1 /gobject/singleton/construction 1159s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1159s ok 2 /gobject/singleton/construct-property 1159s # End of singleton tests 1159s # End of gobject tests 1159s ok - glib/singleton.test 1159s # Running test: glib/unix.test 1159s TAP version 14 1159s # random seed: R02Sc19a267834566dd4f1d551ce0fe463a6 1159s 1..20 1159s # Start of glib-unix tests 1159s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1159s ok 1 /glib-unix/closefrom 1159s ok 2 /glib-unix/pipe 1159s # /glib-unix/pipe-stdio-overwrite summary: Test that g_unix_open_pipe() will use the first available FD, even if it?s stdin/stdout/stderr 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1159s ok 3 /glib-unix/pipe-stdio-overwrite 1159s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1159s ok 4 /glib-unix/pipe-struct 1159s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1159s ok 5 /glib-unix/pipe-struct-auto 1159s ok 6 /glib-unix/error 1159s ok 7 /glib-unix/nonblocking 1159s ok 8 /glib-unix/sighup 1159s # slow test /glib-unix/sighup executed in 0.50 secs 1159s # Executing: glib/unix.test 1159s ok 9 /glib-unix/sigterm 1159s # slow test /glib-unix/sigterm executed in 0.50 secs 1159s ok 10 /glib-unix/sighup_again 1159s # slow test /glib-unix/sighup_again executed in 0.50 secs 1159s ok 11 /glib-unix/sighup_add_remove 1159s ok 12 /glib-unix/sighup_nested 1161s ok 13 /glib-unix/callback_after_signal 1161s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1161s ok 14 /glib-unix/child-wait 1161s # Start of closefrom tests 1161s # Start of subprocess tests 1161s # End of subprocess tests 1161s # End of closefrom tests 1161s # Start of pipe tests 1161s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1161s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1161s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1161s ok 15 /glib-unix/pipe/fd-cloexec 1161s # End of pipe tests 1161s # Start of sighup tests 1162s ok 16 /glib-unix/sighup/alternate-stack 1162s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1162s # End of sighup tests 1162s # Start of sigterm tests 1163s ok 17 /glib-unix/sigterm/alternate-stack 1163s # slow test /glib-unix/sigterm/alternate-stack executed in 1.01 secs 1163s # End of sigterm tests 1163s # Start of sighup_again tests 1164s # Executing: glib/unix.test 1164s ok 18 /glib-unix/sighup_again/alternate-stack 1164s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1164s # End of sighup_again tests 1164s # Start of get-passwd-entry tests 1164s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1164s ok 19 /glib-unix/get-passwd-entry/root 1164s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1164s ok 20 /glib-unix/get-passwd-entry/nonexistent 1164s # End of get-passwd-entry tests 1164s # End of glib-unix tests 1164s ok - glib/unix.test 1164s # Running test: glib/gsocketclient-slow.test 1164s TAP version 14 1164s # random seed: R02S8550a796cad1320f1af0d0076b32e97e 1164s 1..4 1164s # Start of socket-client tests 1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1164s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x16fd8e11b280 and GSocketClientAsyncConnectData 0x16fd8e113b90 1164s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1164s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1164s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x16fd8e11d160 for GSocketClientAsyncConnectData 0x16fd8e113b90 1164s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1165s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1165s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1165s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1165s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1165s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1165s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x16fd8e11e2c0 for GSocketClientAsyncConnectData 0x16fd8e113b90 1165s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1166s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1166s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1166s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1166s ok 1 /socket-client/connection-fail 1166s # slow test /socket-client/connection-fail executed in 1.20 secs 1166s # Start of happy-eyeballs tests 1166s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x16fd8e120c50 and GSocketClientAsyncConnectData 0x16fd8e11ef00 1166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1166s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1166s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x16fd8e1215d0 for GSocketClientAsyncConnectData 0x16fd8e11ef00 1166s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1166s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1166s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1166s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1166s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1166s ok 2 /socket-client/happy-eyeballs/slow 1166s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1166s # Start of cancellation tests 1166s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x16fd8e122240 and GSocketClientAsyncConnectData 0x16fd8e121160 1166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1166s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1166s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1166s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x16fd8e120c90 and GSocketClientAsyncConnectData 0x16fd8e1224d0 1166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1166s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1166s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x16fd8e122ca0 for GSocketClientAsyncConnectData 0x16fd8e1224d0 1166s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1167s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1167s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1167s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1167s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1167s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1167s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1167s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1167s # End of cancellation tests 1167s # End of happy-eyeballs tests 1167s # End of socket-client tests 1167s ok - glib/gsocketclient-slow.test 1167s # Running test: glib/timeout.test 1167s TAP version 14 1167s # random seed: R02Saed6251de3e60307985a39c40a06c6bd 1167s 1..5 1167s # Start of timeout tests 1167s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1169s # Executing: glib/timeout.test 1169s ok 1 /timeout/seconds 1169s # slow test /timeout/seconds executed in 2.10 secs 1171s ok 2 /timeout/seconds-once 1171s # slow test /timeout/seconds-once executed in 2.10 secs 1171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1173s ok 3 /timeout/weeks-overflow 1173s # slow test /timeout/weeks-overflow executed in 2.10 secs 1173s ok 4 /timeout/far-future-ready-time 1174s # Executing: glib/timeout.test 1179s # Executing: glib/timeout.test 1184s # Executing: glib/timeout.test 1184s ok 5 /timeout/rounding 1184s # slow test /timeout/rounding executed in 10.67 secs 1184s # End of timeout tests 1184s ok - glib/timeout.test 1184s # Running test: glib/gdbus-names.test 1184s TAP version 14 1184s # random seed: R02Scbfdd329032d9fa3e879fa54145fde40 1184s 1..10 1184s # Start of gdbus tests 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/validate-names/.dirs/runtime 1184s ok 1 /gdbus/validate-names 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-own-name/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 2 /gdbus/bus-own-name 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 3 /gdbus/bus-watch-name 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 4 /gdbus/bus-watch-name-auto-start 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s dbus-daemon[14078]: [session uid=1000 pid=14078] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=14069 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1184s # Acquired a message bus connection 1184s dbus-daemon[14078]: [session uid=1000 pid=14078] Successfully activated service 'org.gtk.GDBus.FakeService' 1184s # Acquired the name org.gtk.GDBus.FakeService 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 6 /gdbus/bus-watch-name-closures 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 7 /gdbus/bus-watch-name-closures-auto-start 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-watch-different-context/.dirs/runtime 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 8 /gdbus/bus-watch-different-context 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/bus-unwatch-early/.dirs/runtime 1184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok 9 /gdbus/bus-unwatch-early 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_IMMB02/gdbus/escape-object-path/.dirs/runtime 1184s ok 10 /gdbus/escape-object-path 1184s # End of gdbus tests 1184s ok - glib/gdbus-names.test 1184s # Running test: glib/testing.test 1184s TAP version 14 1184s # random seed: R02S6b42b4513337a9bc8cbdd500090dfb97 1184s 1..1 1184s # Start of assert tests 1184s ok 1 /assert/finalize_object 1184s # Start of finalize_object tests 1184s # Start of subprocess tests 1184s # End of subprocess tests 1184s # End of finalize_object tests 1184s # End of assert tests 1184s ok - glib/testing.test 1184s # Running test: glib/simple-proxy.test 1184s TAP version 14 1184s # random seed: R02Sffaa535858ae98b7109f1c26329436ff 1184s 1..3 1184s # Start of static-proxy tests 1184s ok 1 /static-proxy/uri 1184s ok 2 /static-proxy/socks 1184s ok 3 /static-proxy/ignore 1184s # End of static-proxy tests 1184s ok - glib/simple-proxy.test 1184s # Running test: glib/signal-handler.test 1184s TAP version 14 1184s # random seed: R02Sbecae6a8493a56044ef307d7d2cd3db7 1184s 1..7 1184s # Start of signal tests 1184s # Start of handler tests 1184s # min perf: connected 1 handlers in 0.000 seconds 1184s ok 1 /signal/handler/connect-many 1184s # min perf: disconnected 1 handlers in 0.000 seconds 1184s ok 2 /signal/handler/disconnect-many-ordered 1184s # min perf: disconnected 1 handlers in 0.000 seconds 1184s ok 3 /signal/handler/disconnect-many-inverse 1184s # min perf: disconnected 1 handlers in 0.000 seconds 1184s ok 4 /signal/handler/disconnect-many-random 1184s # min perf: disconnected 1 handlers in 0.000 seconds 1184s ok 5 /signal/handler/disconnect-2-signals 1184s # min perf: disconnected 1 handlers in 0.000 seconds 1184s ok 6 /signal/handler/disconnect-2-objects 1184s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1184s ok 7 /signal/handler/block-many 1184s # End of handler tests 1184s # End of signal tests 1184s ok - glib/signal-handler.test 1184s # Running test: glib/defaultiface.test 1184s TAP version 14 1184s # random seed: R02Sd01d2970a226823a0803f3ab63129e1a 1184s 1..2 1184s # Start of gobject tests 1184s ok 1 /gobject/static-iface 1184s ok 2 /gobject/dynamic-iface 1184s # End of gobject tests 1184s ok - glib/defaultiface.test 1184s # Running test: glib/onceinit.test 1184s TAP version 14 1184s # random seed: R02Sefd9973cb62e09bfa77e34a90ef6b70d 1184s 1..1 1184s # Start of thread tests 1184s ok 1 /thread/onceinit 1184s # End of thread tests 1184s ok - glib/onceinit.test 1184s # Running test: glib/srvtarget.test 1184s TAP version 14 1184s # random seed: R02S52103bcfea12513e3663cfbfd2900cbe 1184s 1..1 1184s # Start of srvtarget tests 1185s ok 1 /srvtarget/srv-target-ordering 1185s # slow test /srvtarget/srv-target-ordering executed in 0.90 secs 1185s # End of srvtarget tests 1185s ok - glib/srvtarget.test 1185s # Running test: glib/struct-info.test 1185s TAP version 14 1185s # random seed: R02S1393004dd0b8e4eea5312b8a0c75cda1 1185s 1..4 1185s # Start of struct-info tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_M2V7Z2/struct-info/field-iterators/.dirs/runtime 1185s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1185s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1185s ok 1 /struct-info/field-iterators 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_M2V7Z2/struct-info/sizeof-gvalue/.dirs/runtime 1185s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1185s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1185s ok 2 /struct-info/sizeof-gvalue 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_M2V7Z2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1185s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1185s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1185s ok 3 /struct-info/is-pointer-for-struct-method-arg 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_M2V7Z2/struct-info/boxed/.dirs/runtime 1185s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1185s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1185s ok 4 /struct-info/boxed 1185s # End of struct-info tests 1185s ok - glib/struct-info.test 1185s # Running test: glib/gdbus-message.test 1185s TAP version 14 1185s # random seed: R02S79b2fbe0cf6b7157566aa448ade2fb34 1185s 1..3 1185s # Start of gdbus tests 1185s # Start of message tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MY17Z2/gdbus/message/lock/.dirs/runtime 1185s ok 1 /gdbus/message/lock 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MY17Z2/gdbus/message/copy/.dirs/runtime 1185s ok 2 /gdbus/message/copy 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MY17Z2/gdbus/message/bytes-needed/.dirs/runtime 1185s # Vector: 0 1185s # Vector: 1 1185s # Vector: 2 1185s # Vector: 3 1185s # Vector: 4 1185s # Vector: 5 1185s ok 3 /gdbus/message/bytes-needed 1185s # End of message tests 1185s # End of gdbus tests 1185s ok - glib/gdbus-message.test 1185s # Running test: glib/thread-pool-slow.test 1185s TAP version 14 1185s # random seed: R02Sace63b3ed0117effc56c0ff89e58db21 1185s 1..7 1185s # Start of threadpool tests 1185s ok 1 /threadpool/functions 1185s ok 2 /threadpool/stop-unused 1185s # slow test /threadpool/stop-unused executed in 0.53 secs 1186s ok 3 /threadpool/pools 1186s # [unsorted] ===> pushed new thread with id:63, number of threads:1, unprocessed:1 1186s # [unsorted] ===> pushed new thread with id:80, number of threads:2, unprocessed:2 1186s # [unsorted] ===> pushed new thread with id:46, number of threads:3, unprocessed:3 1186s # [unsorted] ===> pushed new thread with id:34, number of threads:4, unprocessed:4 1186s # [unsorted] ===> pushed new thread with id:77, number of threads:5, unprocessed:5 1186s # [unsorted] ===> pushed new thread with id:19, number of threads:6, unprocessed:6 1186s # [unsorted] ===> pushed new thread with id:61, number of threads:7, unprocessed:7 1186s # [unsorted] ===> pushed new thread with id:49, number of threads:8, unprocessed:8 1186s # [unsorted] ===> pushed new thread with id:39, number of threads:9, unprocessed:9 1186s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:4 1186s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:2 1186s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:2 1186s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:3 1186s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:4 1186s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:5 1186s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:6 1186s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:7 1186s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:8 1186s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:9 1186s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:10 1186s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:11 1186s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:12 1186s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:13 1186s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:14 1186s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:15 1186s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:16 1186s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:17 1186s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:18 1186s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:19 1186s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:20 1186s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:21 1186s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:22 1186s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:23 1186s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:24 1186s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:25 1186s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:26 1186s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:27 1186s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:28 1186s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:29 1186s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:30 1186s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:31 1186s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:32 1186s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:33 1186s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:34 1186s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:35 1186s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:36 1186s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:37 1186s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:38 1186s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:39 1186s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:40 1186s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:41 1186s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:42 1186s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 1186s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:44 1186s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:45 1186s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:46 1186s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:47 1186s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:48 1186s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:49 1186s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:50 1186s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:51 1186s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:52 1186s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:53 1186s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:54 1186s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:55 1186s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:56 1186s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:57 1186s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:58 1186s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:59 1186s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:60 1186s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:61 1186s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:62 1186s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:63 1186s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:64 1186s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:65 1186s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:66 1186s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:67 1186s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:68 1186s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:69 1186s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:70 1186s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:71 1186s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:72 1186s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:73 1186s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:74 1186s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:75 1186s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:76 1186s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:77 1186s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:78 1186s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:79 1186s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:80 1186s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:81 1186s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:82 1186s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:83 1186s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:84 1186s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:85 1186s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:86 1186s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:87 1186s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:88 1186s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:89 1186s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:90 1186s ok 4 /threadpool/no-sort 1186s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:1 1186s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:2 1186s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:3 1186s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:4 1186s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:5 1186s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:6 1186s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:7 1186s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:8 1186s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:9 1186s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:10 1186s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:11 1186s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:12 1186s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:13 1186s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:14 1186s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:15 1186s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:16 1186s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:17 1186s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:18 1186s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:19 1186s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:20 1186s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:21 1186s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:22 1186s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:23 1186s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:24 1186s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:25 1186s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:26 1186s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:27 1186s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:28 1186s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:29 1186s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:30 1186s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:31 1186s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:32 1186s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:33 1186s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:34 1186s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:35 1186s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:36 1186s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:37 1186s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:38 1186s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:39 1186s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:40 1186s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:41 1186s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:42 1186s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:43 1186s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:44 1186s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:45 1186s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:46 1186s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:47 1186s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:48 1186s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:49 1186s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:50 1186s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:51 1186s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:52 1186s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:53 1186s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:54 1186s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:55 1186s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:56 1186s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:57 1186s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:58 1186s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:59 1186s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:60 1186s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:61 1186s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:62 1186s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:63 1186s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:64 1186s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:65 1186s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:66 1186s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:67 1186s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:68 1186s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:69 1186s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:70 1186s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:71 1186s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:72 1186s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:73 1186s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:74 1186s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:75 1186s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:76 1186s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:77 1186s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:78 1186s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:79 1186s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:80 1186s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:81 1186s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:82 1186s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:83 1186s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:84 1186s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:85 1186s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:86 1186s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:87 1186s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:88 1186s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:89 1186s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:90 1186s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:91 1186s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:92 1186s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:93 1186s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:94 1186s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:95 1186s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:96 1186s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:97 1186s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:98 1186s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:99 1186s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:100 1186s # Starting thread pool processing 1186s ok 5 /threadpool/sort 1186s ok 6 /threadpool/stop-unused-multiple 1186s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1186s # Pool idle thread count: 0, unprocessed jobs: 40 1187s # Pool idle thread count: 0, unprocessed jobs: 0 1187s # Pool idle thread count: 0, unprocessed jobs: 0 1187s # Pool idle thread count: 10, unprocessed jobs: 0 1187s # Pool idle thread count: 10, unprocessed jobs: 0 1188s # Pool idle thread count: 10, unprocessed jobs: 0 1188s # Pool idle thread count: 10, unprocessed jobs: 0 1188s # Pool idle thread count: 10, unprocessed jobs: 0 1188s # Pool idle thread count: 10, unprocessed jobs: 0 1189s # Pool idle thread count: 10, unprocessed jobs: 0 1189s # Pool idle thread count: 10, unprocessed jobs: 0 1189s # Executing: glib/thread-pool-slow.test 1189s # Pool idle thread count: 10, unprocessed jobs: 0 1189s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1190s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1191s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1192s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1193s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Executing: glib/thread-pool-slow.test 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1194s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 0 1195s # Pool idle thread count: 10, unprocessed jobs: 2 1195s # Pool idle thread count: 10, unprocessed jobs: 2 1195s # Pool idle thread count: 8, unprocessed jobs: 0 1195s # Pool idle thread count: 8, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1196s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 10, unprocessed jobs: 0 1197s # Pool idle thread count: 2, unprocessed jobs: 0 1197s # Pool idle thread count: 2, unprocessed jobs: 0 1198s # Pool idle thread count: 2, unprocessed jobs: 0 1198s # Pool idle thread count: 2, unprocessed jobs: 0 1198s # Pool idle thread count: 2, unprocessed jobs: 0 1198s # Pool idle thread count: 2, unprocessed jobs: 0 1199s # Pool idle thread count: 2, unprocessed jobs: 0 1199s # Pool idle thread count: 2, unprocessed jobs: 0 1199s # Executing: glib/thread-pool-slow.test 1199s # Pool idle thread count: 2, unprocessed jobs: 0 1199s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1200s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1201s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1202s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1203s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Executing: glib/thread-pool-slow.test 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1204s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1205s # Pool idle thread count: 2, unprocessed jobs: 0 1206s ok 7 /threadpool/idle-time 1206s # slow test /threadpool/idle-time executed in 19.54 secs 1206s # End of threadpool tests 1206s ok - glib/thread-pool-slow.test 1206s # Running test: glib/throws.test 1206s TAP version 14 1206s # random seed: R02S677aac1ab11121372121c802d2a5b1bb 1206s 1..3 1206s # Start of throws tests 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_U6MD02/throws/invoke-gerror/.dirs/runtime 1206s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1206s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1206s ok 1 /throws/invoke-gerror 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_U6MD02/throws/vfunc-can-throw-gerror/.dirs/runtime 1206s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1206s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1206s ok 2 /throws/vfunc-can-throw-gerror 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_U6MD02/throws/callback-can-throw-gerror/.dirs/runtime 1206s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1206s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1206s ok 3 /throws/callback-can-throw-gerror 1206s # End of throws tests 1206s ok - glib/throws.test 1206s # Running test: glib/gdbus-connection.test 1206s TAP version 14 1206s # random seed: R02S815f1bb48a3ae5362f4ad9e09e594b11 1206s 1..9 1206s # Start of gdbus tests 1206s # Start of connection tests 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/bus-failure/.dirs/runtime 1206s ok 1 /gdbus/connection/bus-failure 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/basic/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 2 /gdbus/connection/basic 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/life-cycle/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 3 /gdbus/connection/life-cycle 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/send/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 4 /gdbus/connection/send 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signals/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 5 /gdbus/connection/signals 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/signal-match-rules/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 6 /gdbus/connection/signal-match-rules 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/filter/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 7 /gdbus/connection/filter 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/serials/.dirs/runtime 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 8 /gdbus/connection/serials 1206s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/home 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/cache 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/system-config2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/config 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/system-data2 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/data 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/state 1206s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_7FGE02/gdbus/connection/cancel/.dirs/runtime 1206s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1206s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1206s ok 9 /gdbus/connection/cancel 1206s # End of connection tests 1206s # End of gdbus tests 1206s ok - glib/gdbus-connection.test 1206s # Running test: glib/tls-certificate.test 1206s TAP version 14 1206s # random seed: R02Sb60640496a9ffc21e15a41669adee4fc 1206s 1..19 1206s # Start of tls-certificate tests 1206s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1206s ok 1 /tls-certificate/pem-parser 1206s ok 2 /tls-certificate/pem-parser-handles-chain 1206s ok 3 /tls-certificate/from_file 1206s ok 4 /tls-certificate/from_files 1206s ok 5 /tls-certificate/from_files_crlf 1206s ok 6 /tls-certificate/from_files_pkcs8 1206s ok 7 /tls-certificate/from_files_pkcs8enc 1206s ok 8 /tls-certificate/list_from_file 1206s ok 9 /tls-certificate/pkcs11-uri 1206s ok 10 /tls-certificate/pkcs11-uri-unsupported 1206s ok 11 /tls-certificate/from_pkcs12 1206s ok 12 /tls-certificate/from_pkcs12_file 1206s ok 13 /tls-certificate/not-valid-before 1206s ok 14 /tls-certificate/not-valid-after 1206s ok 15 /tls-certificate/subject-name 1206s ok 16 /tls-certificate/issuer-name 1206s ok 17 /tls-certificate/dns-names 1206s ok 18 /tls-certificate/ip-addresses 1206s ok 19 /tls-certificate/pem-parser-no-sentinel 1206s # End of tls-certificate tests 1206s ok - glib/tls-certificate.test 1206s # Running test: glib/autoptr.test 1206s TAP version 14 1206s # random seed: R02Sfc9c4137f7f7498559c3e9361eb3e0d2 1206s 1..6 1206s # Start of autoptr tests 1206s ok 1 /autoptr/autoptr 1206s ok 2 /autoptr/autoptr_steal 1206s ok 3 /autoptr/autolist 1206s ok 4 /autoptr/autoslist 1206s ok 5 /autoptr/autoqueue 1206s ok 6 /autoptr/autoclass 1206s # End of autoptr tests 1206s ok - glib/autoptr.test 1206s # Running test: glib/mapping.test 1206s TAP version 14 1206s # random seed: R02S9b6ea255ff22e8413b3d771c55621e5a 1206s 1..3 1206s # Start of mapping tests 1206s # test_mapping: ok 1206s ok 1 /mapping/flags 1206s ok 2 /mapping/private 1206s # Subtest: /usr/libexec/installed-tests/glib/mapping 1206s # random seed: R02S3934ec8b5a4008888b0483bde8e72316 1206s # test_child_private: child spawned 1206s # test_child_private: received first child signal 1206s # test_child_private: received parent signal 1206s # Child exited with status 0 1206s # test_child_private: received second child signal 1206s ok 3 /mapping/private-child 1206s # End of mapping tests 1206s ok - glib/mapping.test 1206s # Running test: glib/cxx-14.test 1206s TAP version 14 1206s # random seed: R02S5bde3c6efa99f322a4964c965025c441 1206s 1..2 1206s # Start of gtask tests 1206s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1206s ok 1 /gtask/name 1206s # Start of name tests 1206s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1206s ok 2 /gtask/name/macro-wrapper 1206s # End of name tests 1206s # End of gtask tests 1206s ok - glib/cxx-14.test 1206s # Running test: glib/once.test 1206s TAP version 14 1206s # random seed: R02Sd3b0da7449b4b7ff98833c09bcfb082d 1206s 1..5 1206s # Start of once tests 1206s # /once/single-threaded summary: Test g_once() usage from a single thread 1206s ok 1 /once/single-threaded 1206s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1206s ok 2 /once/multi-threaded 1206s # End of once tests 1206s # Start of once-init tests 1206s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1206s ok 3 /once-init/single-threaded 1206s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1206s ok 4 /once-init/multi-threaded 1206s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1206s ok 5 /once-init/string 1206s # End of once-init tests 1206s ok - glib/once.test 1206s # Running test: glib/cond.test 1206s TAP version 14 1206s # random seed: R02Sa578d78790f96049b3ef04a44037a910 1206s 1..4 1206s # Start of thread tests 1206s ok 1 /thread/cond1 1206s ok 2 /thread/cond2 1206s # Start of cond tests 1207s ok 3 /thread/cond/wait-until 1207s # slow test /thread/cond/wait-until executed in 1.02 secs 1207s # Start of wait-until tests 1207s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1208s ok 4 /thread/cond/wait-until/contended-and-interrupted 1208s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1208s # End of wait-until tests 1208s # End of cond tests 1208s # End of thread tests 1208s ok - glib/cond.test 1208s # Running test: glib/genmarshal.py.test 1208s TAP version 13 1208s ok 1 __main__.TestGenmarshal.test_empty_list 1208s # tmpdir: /tmp/tmpxixwlyrb 1208s # genmarshal: /usr/bin/glib-genmarshal 1208s # /tmp/tmpxixwlyrb/tmp6ohpbvk0.list: 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxixwlyrb/tmp6ohpbvk0.list', '--header', '--quiet'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # 1208s # #include 1208s # 1208s # G_BEGIN_DECLS 1208s # 1208s # 1208s # G_END_DECLS 1208s # 1208s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxixwlyrb/tmp6ohpbvk0.list', '--body', '--quiet'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #include 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s ok 2 __main__.TestGenmarshal.test_help 1208s # tmpdir: /tmp/tmpxa9zs6lx 1208s # genmarshal: /usr/bin/glib-genmarshal 1208s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1208s # [--internal] [--valist-marshallers] [-v] 1208s # [--g-fatal-warnings] [--include-header [HEADER]] 1208s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1208s # [--prototypes] [--header] [--body] 1208s # [--stdinc | --nostdinc] [--quiet | --verbose] 1208s # [FILE ...] 1208s # 1208s # Generate signal marshallers for GObject 1208s # 1208s # positional arguments: 1208s # FILE Files with lists of marshallers to generate, or "-" 1208s # for standard input 1208s # 1208s # options: 1208s # -h, --help show this help message and exit 1208s # --prefix STRING Specify marshaller prefix 1208s # --output FILE Write output into the specified file 1208s # --skip-source Skip source location comments 1208s # --internal Mark generated functions as internal 1208s # --valist-marshallers Generate va_list marshallers 1208s # -v, --version Print version information, and exit 1208s # --g-fatal-warnings Make warnings fatal 1208s # --include-header [HEADER] 1208s # Include the specified header in the body 1208s # --pragma-once Use "pragma once" as the inclusion guard 1208s # -D CPP_DEFINES Pre-processor define 1208s # -U CPP_UNDEFINES Pre-processor undefine 1208s # --prototypes Generate the marshallers prototype in the C code 1208s # --header Generate C headers 1208s # --body Generate C code 1208s # --stdinc Include standard marshallers 1208s # --nostdinc Use standard marshallers 1208s # --quiet Only print warnings and errors 1208s # --verbose Be verbose, and include debugging information 1208s ok 3 __main__.TestGenmarshal.test_no_args 1208s # tmpdir: /tmp/tmp41grkbwx 1208s # genmarshal: /usr/bin/glib-genmarshal 1208s # Running: ['/usr/bin/glib-genmarshal'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: 1208s ok 4 __main__.TestGenmarshal.test_void_boolean 1208s # tmpdir: /tmp/tmpkww2i_jw 1208s # genmarshal: /usr/bin/glib-genmarshal 1208s # /tmp/tmpkww2i_jw/tmpxjzj3q05.list: VOID:BOOLEAN 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkww2i_jw/tmpxjzj3q05.list', '--header', '--quiet'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # 1208s # #include 1208s # 1208s # G_BEGIN_DECLS 1208s # 1208s # /* VOID:BOOLEAN (/tmp/tmpkww2i_jw/tmpxjzj3q05.list:1) */ 1208s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1208s # 1208s # 1208s # G_END_DECLS 1208s # 1208s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkww2i_jw/tmpxjzj3q05.list', '--body', '--quiet'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #include 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1208s # tmpdir: /tmp/tmpl1nblo1h 1208s # genmarshal: /usr/bin/glib-genmarshal 1208s # /tmp/tmpl1nblo1h/tmpf2zwb5y_.list: VOID:BOOLEAN,INT64 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl1nblo1h/tmpf2zwb5y_.list', '--header', '--quiet'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # 1208s # #include 1208s # 1208s # G_BEGIN_DECLS 1208s # 1208s # /* VOID:BOOLEAN,INT64 (/tmp/tmpl1nblo1h/tmpf2zwb5y_.list:1) */ 1208s # extern 1208s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1208s # GValue *return_value, 1208s # guint n_param_values, 1208s # const GValue *param_values, 1208s # gpointer invocation_hint, 1208s # gpointer marshal_data); 1208s # 1208s # 1208s # G_END_DECLS 1208s # 1208s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl1nblo1h/tmpf2zwb5y_.list', '--body', '--quiet'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #include 1208s # 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s # 1208s # /* VOID:BOOLEAN,INT64 (/tmp/tmpl1nblo1h/tmpf2zwb5y_.list:1) */ 1208s # void 1208s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1208s # GValue *return_value G_GNUC_UNUSED, 1208s # guint n_param_values, 1208s # const GValue *param_values, 1208s # gpointer invocation_hint G_GNUC_UNUSED, 1208s # gpointer marshal_data) 1208s # { 1208s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1208s # gboolean arg1, 1208s # gint64 arg2, 1208s # gpointer data2); 1208s # GCClosure *cc = (GCClosure *) closure; 1208s # gpointer data1, data2; 1208s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1208s # 1208s # g_return_if_fail (n_param_values == 3); 1208s # 1208s # if (G_CCLOSURE_SWAP_DATA (closure)) 1208s # { 1208s # data1 = closure->data; 1208s # data2 = g_value_peek_pointer (param_values + 0); 1208s # } 1208s # else 1208s # { 1208s # data1 = g_value_peek_pointer (param_values + 0); 1208s # data2 = closure->data; 1208s # } 1208s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1208s # 1208s # callback (data1, 1208s # g_marshal_value_peek_boolean (param_values + 1), 1208s # g_marshal_value_peek_int64 (param_values + 2), 1208s # data2); 1208s # } 1208s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1208s # tmpdir: /tmp/tmpgbcu08mj 1208s # genmarshal: /usr/bin/glib-genmarshal 1208s # /tmp/tmpgbcu08mj/tmpi6cx0agh.list: VOID:PARAM 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgbcu08mj/tmpi6cx0agh.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1208s # 1208s # G_BEGIN_DECLS 1208s # 1208s # /* VOID:PARAM (/tmp/tmpgbcu08mj/tmpi6cx0agh.list:1) */ 1208s # extern 1208s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1208s # GValue *return_value, 1208s # guint n_param_values, 1208s # const GValue *param_values, 1208s # gpointer invocation_hint, 1208s # gpointer marshal_data); 1208s # extern 1208s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1208s # GValue *return_value, 1208s # gpointer instance, 1208s # va_list args, 1208s # gpointer marshal_data, 1208s # int n_params, 1208s # GType *param_types); 1208s # 1208s # 1208s # G_END_DECLS 1208s # 1208s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1208s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgbcu08mj/tmpi6cx0agh.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1208s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1208s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1208s # #ifdef G_ENABLE_DEBUG 1208s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1208s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1208s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1208s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1208s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1208s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1208s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1208s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1208s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1208s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1208s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1208s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1208s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1208s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1208s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1208s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1208s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1208s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1208s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1208s # #else /* !G_ENABLE_DEBUG */ 1208s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1208s # * Do not access GValues directly in your code. Instead, use the 1208s # * g_value_get_*() functions 1208s # */ 1208s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1208s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1208s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1208s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1208s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1208s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1208s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1208s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1208s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1208s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1208s # #endif /* !G_ENABLE_DEBUG */ 1208s # 1208s # /* VOID:PARAM (/tmp/tmpgbcu08mj/tmpi6cx0agh.list:1) */ 1208s # void 1208s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1208s # GValue *return_value G_GNUC_UNUSED, 1208s # guint n_param_values, 1208s # const GValue *param_values, 1208s # gpointer invocation_hint G_GNUC_UNUSED, 1208s # gpointer marshal_data) 1208s # { 1208s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1208s # gpointer arg1, 1208s # gpointer data2); 1208s # GCClosure *cc = (GCClosure *) closure; 1208s # gpointer data1, data2; 1208s # GMarshalFunc_VOID__PARAM callback; 1208s # 1208s # g_return_if_fail (n_param_values == 2); 1208s # 1208s # if (G_CCLOSURE_SWAP_DATA (closure)) 1208s # { 1208s # data1 = closure->data; 1208s # data2 = g_value_peek_pointer (param_values + 0); 1208s # } 1208s # else 1208s # { 1208s # data1 = g_value_peek_pointer (param_values + 0); 1208s # data2 = closure->data; 1208s # } 1208s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1208s # 1208s # callback (data1, 1208s # g_marshal_value_peek_param (param_values + 1), 1208s # data2); 1208s # } 1208s # 1208s # void 1208s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1208s # GValue *return_value G_GNUC_UNUSED, 1208s # gpointer instance, 1208s # va_list args, 1208s # gpointer marshal_data, 1208s # int n_params, 1208s # GType *param_types) 1208s # { 1208s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1208s # gpointer arg1, 1208s # gpointer data2); 1208s # GCClosure *cc = (GCClosure *) closure; 1208s # gpointer data1, data2; 1208s # GMarshalFunc_VOID__PARAM callback; 1208s # gpointer arg0; 1208s # va_list args_copy; 1208s # 1208s # va_copy (args_copy, args); 1208s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1208s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1208s # arg0 = g_param_spec_ref (arg0); 1208s # va_end (args_copy); 1208s # 1208s # 1208s # if (G_CCLOSURE_SWAP_DATA (closure)) 1208s # { 1208s # data1 = closure->data; 1208s # data2 = instance; 1208s # } 1208s # else 1208s # { 1208s # data1 = instance; 1208s # data2 = closure->data; 1208s # } 1208s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1208s # 1208s # callback (data1, 1208s # arg0, 1208s # data2); 1208s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1208s # g_param_spec_unref (arg0); 1208s # } 1209s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1209s # tmpdir: /tmp/tmpeadsjj4p 1209s # genmarshal: /usr/bin/glib-genmarshal 1209s # /tmp/tmpeadsjj4p/tmp8hd6z9vm.list: VOID:STRING 1209s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpeadsjj4p/tmp8hd6z9vm.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1209s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1209s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1209s # 1209s # G_BEGIN_DECLS 1209s # 1209s # /* VOID:STRING (/tmp/tmpeadsjj4p/tmp8hd6z9vm.list:1) */ 1209s # extern 1209s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1209s # GValue *return_value, 1209s # guint n_param_values, 1209s # const GValue *param_values, 1209s # gpointer invocation_hint, 1209s # gpointer marshal_data); 1209s # extern 1209s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1209s # GValue *return_value, 1209s # gpointer instance, 1209s # va_list args, 1209s # gpointer marshal_data, 1209s # int n_params, 1209s # GType *param_types); 1209s # 1209s # 1209s # G_END_DECLS 1209s # 1209s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1209s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpeadsjj4p/tmp8hd6z9vm.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1209s # #ifdef G_ENABLE_DEBUG 1209s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1209s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1209s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1209s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1209s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1209s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1209s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1209s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1209s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1209s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1209s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1209s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1209s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1209s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1209s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1209s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1209s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1209s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1209s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1209s # #else /* !G_ENABLE_DEBUG */ 1209s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1209s # * Do not access GValues directly in your code. Instead, use the 1209s # * g_value_get_*() functions 1209s # */ 1209s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1209s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1209s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1209s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1209s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1209s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1209s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1209s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1209s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1209s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1209s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1209s # #endif /* !G_ENABLE_DEBUG */ 1209s # 1209s # /* VOID:STRING (/tmp/tmpeadsjj4p/tmp8hd6z9vm.list:1) */ 1209s # void 1209s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1209s # GValue *return_value G_GNUC_UNUSED, 1209s # guint n_param_values, 1209s # const GValue *param_values, 1209s # gpointer invocation_hint G_GNUC_UNUSED, 1209s # gpointer marshal_data) 1209s # { 1209s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1209s # gpointer arg1, 1209s # gpointer data2); 1209s # GCClosure *cc = (GCClosure *) closure; 1209s # gpointer data1, data2; 1209s # GMarshalFunc_VOID__STRING callback; 1209s # 1209s # g_return_if_fail (n_param_values == 2); 1209s # 1209s # if (G_CCLOSURE_SWAP_DATA (closure)) 1209s # { 1209s # data1 = closure->data; 1209s # data2 = g_value_peek_pointer (param_values + 0); 1209s # } 1209s # else 1209s # { 1209s # data1 = g_value_peek_pointer (param_values + 0); 1209s # data2 = closure->data; 1209s # } 1209s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1209s # 1209s # callback (data1, 1209s # g_marshal_value_peek_string (param_values + 1), 1209s # data2); 1209s # } 1209s # 1209s # void 1209s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1209s # GValue *return_value G_GNUC_UNUSED, 1209s # gpointer instance, 1209s # va_list args, 1209s # gpointer marshal_data, 1209s # int n_params, 1209s # GType *param_types) 1209s # { 1209s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1209s # gpointer arg1, 1209s # gpointer data2); 1209s # GCClosure *cc = (GCClosure *) closure; 1209s # gpointer data1, data2; 1209s # GMarshalFunc_VOID__STRING callback; 1209s # gpointer arg0; 1209s # va_list args_copy; 1209s # 1209s # va_copy (args_copy, args); 1209s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1209s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1209s # arg0 = g_strdup (arg0); 1209s # va_end (args_copy); 1209s # 1209s # 1209s # if (G_CCLOSURE_SWAP_DATA (closure)) 1209s # { 1209s # data1 = closure->data; 1209s # data2 = instance; 1209s # } 1209s # else 1209s # { 1209s # data1 = instance; 1209s # data2 = closure->data; 1209s # } 1209s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1209s # 1209s # callback (data1, 1209s # arg0, 1209s # data2); 1209s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1209s # g_free (arg0); 1209s # } 1209s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1209s # tmpdir: /tmp/tmp3e216hcp 1209s # genmarshal: /usr/bin/glib-genmarshal 1209s # /tmp/tmp3e216hcp/tmpddpk4ggv.list: VOID:VARIANT 1209s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3e216hcp/tmpddpk4ggv.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1209s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1209s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1209s # 1209s # G_BEGIN_DECLS 1209s # 1209s # /* VOID:VARIANT (/tmp/tmp3e216hcp/tmpddpk4ggv.list:1) */ 1209s # extern 1209s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1209s # GValue *return_value, 1209s # guint n_param_values, 1209s # const GValue *param_values, 1209s # gpointer invocation_hint, 1209s # gpointer marshal_data); 1209s # extern 1209s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1209s # GValue *return_value, 1209s # gpointer instance, 1209s # va_list args, 1209s # gpointer marshal_data, 1209s # int n_params, 1209s # GType *param_types); 1209s # 1209s # 1209s # G_END_DECLS 1209s # 1209s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1209s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3e216hcp/tmpddpk4ggv.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1209s # #ifdef G_ENABLE_DEBUG 1209s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1209s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1209s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1209s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1209s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1209s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1209s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1209s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1209s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1209s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1209s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1209s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1209s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1209s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1209s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1209s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1209s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1209s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1209s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1209s # #else /* !G_ENABLE_DEBUG */ 1209s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1209s # * Do not access GValues directly in your code. Instead, use the 1209s # * g_value_get_*() functions 1209s # */ 1209s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1209s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1209s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1209s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1209s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1209s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1209s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1209s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1209s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1209s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1209s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1209s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1209s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1209s # #endif /* !G_ENABLE_DEBUG */ 1209s # 1209s # /* VOID:VARIANT (/tmp/tmp3e216hcp/tmpddpk4ggv.list:1) */ 1209s # void 1209s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1209s # GValue *return_value G_GNUC_UNUSED, 1209s # guint n_param_values, 1209s # const GValue *param_values, 1209s # gpointer invocation_hint G_GNUC_UNUSED, 1209s # gpointer marshal_data) 1209s # { 1209s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1209s # gpointer arg1, 1209s # gpointer data2); 1209s # GCClosure *cc = (GCClosure *) closure; 1209s # gpointer data1, data2; 1209s # GMarshalFunc_VOID__VARIANT callback; 1209s # 1209s # g_return_if_fail (n_param_values == 2); 1209s # 1209s # if (G_CCLOSURE_SWAP_DATA (closure)) 1209s # { 1209s # data1 = closure->data; 1209s # data2 = g_value_peek_pointer (param_values + 0); 1209s # } 1209s # else 1209s # { 1209s # data1 = g_value_peek_pointer (param_values + 0); 1209s # data2 = closure->data; 1209s # } 1209s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1209s # 1209s # callback (data1, 1209s # g_marshal_value_peek_variant (param_values + 1), 1209s # data2); 1209s # } 1209s # 1209s # void 1209s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1209s # GValue *return_value G_GNUC_UNUSED, 1209s # gpointer instance, 1209s # va_list args, 1209s # gpointer marshal_data, 1209s # int n_params, 1209s # GType *param_types) 1209s # { 1209s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1209s # gpointer arg1, 1209s # gpointer data2); 1209s # GCClosure *cc = (GCClosure *) closure; 1209s # gpointer data1, data2; 1209s # GMarshalFunc_VOID__VARIANT callback; 1209s # gpointer arg0; 1209s # va_list args_copy; 1209s # 1209s # va_copy (args_copy, args); 1209s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1209s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1209s # arg0 = g_variant_ref_sink (arg0); 1209s # va_end (args_copy); 1209s # 1209s # 1209s # if (G_CCLOSURE_SWAP_DATA (closure)) 1209s # { 1209s # data1 = closure->data; 1209s # data2 = instance; 1209s # } 1209s # else 1209s # { 1209s # data1 = instance; 1209s # data2 = closure->data; 1209s # } 1209s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1209s # 1209s # callback (data1, 1209s # arg0, 1209s # data2); 1209s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1209s # g_variant_unref (arg0); 1209s # } 1209s 1..8 1209s # Executing: glib/genmarshal.py.test 1209s ok - glib/genmarshal.py.test 1209s # Running test: glib/signalgroup.test 1209s TAP version 14 1209s # random seed: R02S79ec853adc696bc03e58986b60a91f56 1209s 1..9 1209s # Start of GObject tests 1209s # Start of SignalGroup tests 1209s ok 1 /GObject/SignalGroup/invalid 1209s ok 2 /GObject/SignalGroup/simple 1209s ok 3 /GObject/SignalGroup/changing-target 1209s ok 4 /GObject/SignalGroup/blocking 1209s ok 5 /GObject/SignalGroup/weak-ref-target 1209s ok 6 /GObject/SignalGroup/connect-object 1209s ok 7 /GObject/SignalGroup/signal-parsing 1209s ok 8 /GObject/SignalGroup/properties 1209s ok 9 /GObject/SignalGroup/interface 1209s # Start of signal-parsing tests 1209s # End of signal-parsing tests 1209s # End of SignalGroup tests 1209s # End of GObject tests 1209s ok - glib/signalgroup.test 1209s # Running test: glib/bookmarkfile.test 1209s TAP version 14 1209s # random seed: R02Sa44158739afc6ae1a90f6c9b03a444e4 1209s 1..96 1209s # Start of bookmarks tests 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/load-from-data-dirs/.dirs/runtime 1209s ok 1 /bookmarks/load-from-data-dirs 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/to-file/.dirs/runtime 1209s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_GKBA02/bookmarkfile-test-52DA02.xbel 1209s # Roundtrip from a valid bookmark file 1209s ok 2 /bookmarks/to-file 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/move-item/.dirs/runtime 1209s ok 3 /bookmarks/move-item 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/corner-cases/.dirs/runtime 1209s ok 4 /bookmarks/corner-cases 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/misc/.dirs/runtime 1209s ok 5 /bookmarks/misc 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/deprecated/.dirs/runtime 1209s ok 6 /bookmarks/deprecated 1209s # Start of parse tests 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-02.xbel/.dirs/runtime 1209s ok 7 /bookmarks/parse/fail-02.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-06.xbel/.dirs/runtime 1209s ok 8 /bookmarks/parse/fail-06.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-10.xbel/.dirs/runtime 1209s ok 9 /bookmarks/parse/fail-10.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-01.xbel/.dirs/runtime 1209s ok 10 /bookmarks/parse/fail-01.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-13.xbel/.dirs/runtime 1209s ok 11 /bookmarks/parse/fail-13.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-01.xbel/.dirs/runtime 1209s ok 12 /bookmarks/parse/valid-01.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-02.xbel/.dirs/runtime 1209s ok 13 /bookmarks/parse/valid-02.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-07.xbel/.dirs/runtime 1209s ok 14 /bookmarks/parse/fail-07.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-40.xbel/.dirs/runtime 1209s ok 15 /bookmarks/parse/fail-40.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-09.xbel/.dirs/runtime 1209s ok 16 /bookmarks/parse/fail-09.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-27.xbel/.dirs/runtime 1209s ok 17 /bookmarks/parse/fail-27.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-32.xbel/.dirs/runtime 1209s ok 18 /bookmarks/parse/fail-32.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-05.xbel/.dirs/runtime 1209s ok 19 /bookmarks/parse/fail-05.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-15.xbel/.dirs/runtime 1209s ok 20 /bookmarks/parse/fail-15.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-25.xbel/.dirs/runtime 1209s ok 21 /bookmarks/parse/fail-25.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-41.xbel/.dirs/runtime 1209s ok 22 /bookmarks/parse/fail-41.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-36.xbel/.dirs/runtime 1209s ok 23 /bookmarks/parse/fail-36.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-17.xbel/.dirs/runtime 1209s ok 24 /bookmarks/parse/fail-17.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-31.xbel/.dirs/runtime 1209s ok 25 /bookmarks/parse/fail-31.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-24.xbel/.dirs/runtime 1209s ok 26 /bookmarks/parse/fail-24.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-03.xbel/.dirs/runtime 1209s ok 27 /bookmarks/parse/fail-03.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-29.xbel/.dirs/runtime 1209s ok 28 /bookmarks/parse/fail-29.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-39.xbel/.dirs/runtime 1209s ok 29 /bookmarks/parse/fail-39.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-04.xbel/.dirs/runtime 1209s ok 30 /bookmarks/parse/fail-04.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-34.xbel/.dirs/runtime 1209s ok 31 /bookmarks/parse/fail-34.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-12.xbel/.dirs/runtime 1209s ok 32 /bookmarks/parse/fail-12.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/valid-03.xbel/.dirs/runtime 1209s ok 33 /bookmarks/parse/valid-03.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-26.xbel/.dirs/runtime 1209s ok 34 /bookmarks/parse/fail-26.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-08.xbel/.dirs/runtime 1209s ok 35 /bookmarks/parse/fail-08.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-14.xbel/.dirs/runtime 1209s ok 36 /bookmarks/parse/fail-14.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-42.xbel/.dirs/runtime 1209s ok 37 /bookmarks/parse/fail-42.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-16.xbel/.dirs/runtime 1209s ok 38 /bookmarks/parse/fail-16.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-38.xbel/.dirs/runtime 1209s ok 39 /bookmarks/parse/fail-38.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-33.xbel/.dirs/runtime 1209s ok 40 /bookmarks/parse/fail-33.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-30.xbel/.dirs/runtime 1209s ok 41 /bookmarks/parse/fail-30.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-23.xbel/.dirs/runtime 1209s ok 42 /bookmarks/parse/fail-23.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-22.xbel/.dirs/runtime 1209s ok 43 /bookmarks/parse/fail-22.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-35.xbel/.dirs/runtime 1209s ok 44 /bookmarks/parse/fail-35.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-28.xbel/.dirs/runtime 1209s ok 45 /bookmarks/parse/fail-28.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-20.xbel/.dirs/runtime 1209s ok 46 /bookmarks/parse/fail-20.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-37.xbel/.dirs/runtime 1209s ok 47 /bookmarks/parse/fail-37.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-18.xbel/.dirs/runtime 1209s ok 48 /bookmarks/parse/fail-18.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-19.xbel/.dirs/runtime 1209s ok 49 /bookmarks/parse/fail-19.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-21.xbel/.dirs/runtime 1209s ok 50 /bookmarks/parse/fail-21.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/parse/fail-11.xbel/.dirs/runtime 1209s ok 51 /bookmarks/parse/fail-11.xbel 1209s # End of parse tests 1209s # Start of copy tests 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-02.xbel/.dirs/runtime 1209s ok 52 /bookmarks/copy/fail-02.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-06.xbel/.dirs/runtime 1209s ok 53 /bookmarks/copy/fail-06.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-10.xbel/.dirs/runtime 1209s ok 54 /bookmarks/copy/fail-10.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-01.xbel/.dirs/runtime 1209s ok 55 /bookmarks/copy/fail-01.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-13.xbel/.dirs/runtime 1209s ok 56 /bookmarks/copy/fail-13.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-01.xbel/.dirs/runtime 1209s ok 57 /bookmarks/copy/valid-01.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-02.xbel/.dirs/runtime 1209s ok 58 /bookmarks/copy/valid-02.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-07.xbel/.dirs/runtime 1209s ok 59 /bookmarks/copy/fail-07.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-40.xbel/.dirs/runtime 1209s ok 60 /bookmarks/copy/fail-40.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-09.xbel/.dirs/runtime 1209s ok 61 /bookmarks/copy/fail-09.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-27.xbel/.dirs/runtime 1209s ok 62 /bookmarks/copy/fail-27.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-32.xbel/.dirs/runtime 1209s ok 63 /bookmarks/copy/fail-32.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-05.xbel/.dirs/runtime 1209s ok 64 /bookmarks/copy/fail-05.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-15.xbel/.dirs/runtime 1209s ok 65 /bookmarks/copy/fail-15.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-25.xbel/.dirs/runtime 1209s ok 66 /bookmarks/copy/fail-25.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-41.xbel/.dirs/runtime 1209s ok 67 /bookmarks/copy/fail-41.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-36.xbel/.dirs/runtime 1209s ok 68 /bookmarks/copy/fail-36.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-17.xbel/.dirs/runtime 1209s ok 69 /bookmarks/copy/fail-17.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-31.xbel/.dirs/runtime 1209s ok 70 /bookmarks/copy/fail-31.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-24.xbel/.dirs/runtime 1209s ok 71 /bookmarks/copy/fail-24.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-03.xbel/.dirs/runtime 1209s ok 72 /bookmarks/copy/fail-03.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-29.xbel/.dirs/runtime 1209s ok 73 /bookmarks/copy/fail-29.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-39.xbel/.dirs/runtime 1209s ok 74 /bookmarks/copy/fail-39.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-04.xbel/.dirs/runtime 1209s ok 75 /bookmarks/copy/fail-04.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-34.xbel/.dirs/runtime 1209s ok 76 /bookmarks/copy/fail-34.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-12.xbel/.dirs/runtime 1209s ok 77 /bookmarks/copy/fail-12.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/valid-03.xbel/.dirs/runtime 1209s ok 78 /bookmarks/copy/valid-03.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-26.xbel/.dirs/runtime 1209s ok 79 /bookmarks/copy/fail-26.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-08.xbel/.dirs/runtime 1209s ok 80 /bookmarks/copy/fail-08.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-14.xbel/.dirs/runtime 1209s ok 81 /bookmarks/copy/fail-14.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-42.xbel/.dirs/runtime 1209s ok 82 /bookmarks/copy/fail-42.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-16.xbel/.dirs/runtime 1209s ok 83 /bookmarks/copy/fail-16.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-38.xbel/.dirs/runtime 1209s ok 84 /bookmarks/copy/fail-38.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-33.xbel/.dirs/runtime 1209s ok 85 /bookmarks/copy/fail-33.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-30.xbel/.dirs/runtime 1209s ok 86 /bookmarks/copy/fail-30.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-23.xbel/.dirs/runtime 1209s ok 87 /bookmarks/copy/fail-23.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-22.xbel/.dirs/runtime 1209s ok 88 /bookmarks/copy/fail-22.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-35.xbel/.dirs/runtime 1209s ok 89 /bookmarks/copy/fail-35.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-28.xbel/.dirs/runtime 1209s ok 90 /bookmarks/copy/fail-28.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-20.xbel/.dirs/runtime 1209s ok 91 /bookmarks/copy/fail-20.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-37.xbel/.dirs/runtime 1209s ok 92 /bookmarks/copy/fail-37.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-18.xbel/.dirs/runtime 1209s ok 93 /bookmarks/copy/fail-18.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-19.xbel/.dirs/runtime 1209s ok 94 /bookmarks/copy/fail-19.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-21.xbel/.dirs/runtime 1209s ok 95 /bookmarks/copy/fail-21.xbel 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_GKBA02/bookmarks/copy/fail-11.xbel/.dirs/runtime 1209s ok 96 /bookmarks/copy/fail-11.xbel 1209s # End of copy tests 1209s # End of bookmarks tests 1209s ok - glib/bookmarkfile.test 1209s # Running test: glib/type.test 1209s TAP version 14 1209s # random seed: R02S634b8703c79e5e539c8ae6d18ecdfb0d 1209s 1..6 1209s # Start of type tests 1209s ok 1 /type/registration-serial 1209s ok 2 /type/interface-prerequisite 1209s ok 3 /type/interface-check 1209s ok 4 /type/next-base 1209s ok 5 /type/is-a 1209s # Invalid types can?t be queried. 1209s # Unclassed types can?t be queried. 1209s ok 6 /type/query 1209s # End of type tests 1209s ok - glib/type.test 1209s # Running test: glib/gdbus-error.test 1209s TAP version 14 1209s # random seed: R02Sc58ca771f3f1f6bd23885023c6209425 1209s 1..4 1209s # Start of gdbus tests 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7LNA02/gdbus/registered-errors/.dirs/runtime 1209s ok 1 /gdbus/registered-errors 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7LNA02/gdbus/unregistered-errors/.dirs/runtime 1209s ok 2 /gdbus/unregistered-errors 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7LNA02/gdbus/transparent-gerror/.dirs/runtime 1209s ok 3 /gdbus/transparent-gerror 1209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/home 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/cache 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/system-config2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/config 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/system-data2 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/data 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/state 1209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7LNA02/gdbus/register-error/.dirs/runtime 1209s ok 4 /gdbus/register-error 1209s # End of gdbus tests 1209s ok - glib/gdbus-error.test 1209s # Running test: glib/mkenums.py.test 1209s TAP version 13 1209s ok 1 __main__.TestMkenums.test_available_in 1209s # tmpdir: /tmp/tmpbrz36guw 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmpbrz36guw/tmp3500wpya.h: 1209s # typedef enum { 1209s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1209s # } GDBusServerFlags; 1209s # 1209s # /tmp/tmpbrz36guw/tmpi651oqo_.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbrz36guw/tmpi651oqo_.template', '/tmp/tmpbrz36guw/tmp3500wpya.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmpbrz36guw/tmp3500wpya.h 1209s # basename: tmp3500wpya.h 1209s # enumeration-production 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-header 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-production 1209s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1209s # valuenick: user 1209s # valuenum: 4 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-tail 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1209s # tmpdir: /tmp/tmplmri92sj 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmplmri92sj/tmpchltgj7o.h: 1209s # typedef enum { 1209s # ENUM_VALUE_WITH_COMMA = ',', 1209s # } TestCommaEnum; 1209s # 1209s # /tmp/tmplmri92sj/tmpsqk292u9.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplmri92sj/tmpsqk292u9.template', '/tmp/tmplmri92sj/tmpchltgj7o.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmplmri92sj/tmpchltgj7o.h 1209s # basename: tmpchltgj7o.h 1209s # enumeration-production 1209s # EnumName: TestCommaEnum 1209s # enum_name: test_comma_enum 1209s # ENUMNAME: TEST_COMMA_ENUM 1209s # ENUMSHORT: COMMA_ENUM 1209s # ENUMPREFIX: TEST 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-header 1209s # EnumName: TestCommaEnum 1209s # enum_name: test_comma_enum 1209s # ENUMNAME: TEST_COMMA_ENUM 1209s # ENUMSHORT: COMMA_ENUM 1209s # ENUMPREFIX: TEST 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-production 1209s # VALUENAME: ENUM_VALUE_WITH_COMMA 1209s # valuenick: comma 1209s # valuenum: 44 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-tail 1209s # EnumName: TestCommaEnum 1209s # enum_name: test_comma_enum 1209s # ENUMNAME: TEST_COMMA_ENUM 1209s # ENUMSHORT: COMMA_ENUM 1209s # ENUMPREFIX: TEST 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 3 __main__.TestMkenums.test_deprecated_in 1209s # tmpdir: /tmp/tmp4m_u8cvt 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmp4m_u8cvt/tmprf1e2j3d.h: 1209s # typedef enum { 1209s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1209s # } GDBusServerFlags; 1209s # 1209s # /tmp/tmp4m_u8cvt/tmp5505_bzx.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4m_u8cvt/tmp5505_bzx.template', '/tmp/tmp4m_u8cvt/tmprf1e2j3d.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmp4m_u8cvt/tmprf1e2j3d.h 1209s # basename: tmprf1e2j3d.h 1209s # enumeration-production 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-header 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-production 1209s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1209s # valuenick: user 1209s # valuenum: 4 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-tail 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 4 __main__.TestMkenums.test_deprecated_in_for 1209s # tmpdir: /tmp/tmptj69maoz 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmptj69maoz/tmprjqh3j65.h: 1209s # typedef enum { 1209s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER2) = (1<<2) 1209s # } GDBusServerFlags; 1209s # 1209s # /tmp/tmptj69maoz/tmpui7u_cof.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptj69maoz/tmpui7u_cof.template', '/tmp/tmptj69maoz/tmprjqh3j65.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmptj69maoz/tmprjqh3j65.h 1209s # basename: tmprjqh3j65.h 1209s # enumeration-production 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-header 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-production 1209s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1209s # valuenick: user 1209s # valuenum: 4 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # value-tail 1209s # EnumName: GDBusServerFlags 1209s # enum_name: g_dbus_server_flags 1209s # ENUMNAME: G_DBUS_SERVER_FLAGS 1209s # ENUMSHORT: DBUS_SERVER_FLAGS 1209s # ENUMPREFIX: G 1209s # enumsince: 1209s # type: flags 1209s # Type: Flags 1209s # TYPE: FLAGS 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 5 __main__.TestMkenums.test_empty_header 1209s # tmpdir: /tmp/tmptceae7bo 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmptceae7bo/tmpoo7m1_gr.h: 1209s # /tmp/tmptceae7bo/tmpaqb48wzp.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptceae7bo/tmpaqb48wzp.template', '/tmp/tmptceae7bo/tmpoo7m1_gr.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 6 __main__.TestMkenums.test_empty_template 1209s # tmpdir: /tmp/tmpqu_xn_cj 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmpqu_xn_cj/tmpb7tponh8.template: 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqu_xn_cj/tmpb7tponh8.template'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1209s # 1209s # 1209s # /* Generated data ends here */ 1209s ok 7 __main__.TestMkenums.test_enum_name 1209s # tmpdir: /tmp/tmpcarx14_w 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmpcarx14_w/tmpdat39tdz.h: 1209s # typedef enum _SomeEnumIdentifier { 1209s # ENUM_VALUE 1209s # } SomeEnumIdentifier; 1209s # 1209s # /tmp/tmpcarx14_w/tmp01mz8tpp.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcarx14_w/tmp01mz8tpp.template', '/tmp/tmpcarx14_w/tmpdat39tdz.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmpcarx14_w/tmpdat39tdz.h 1209s # basename: tmpdat39tdz.h 1209s # enumeration-production 1209s # EnumName: SomeEnumIdentifier 1209s # enum_name: some_enum_identifier 1209s # ENUMNAME: SOME_ENUM_IDENTIFIER 1209s # ENUMSHORT: ENUM_IDENTIFIER 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-header 1209s # EnumName: SomeEnumIdentifier 1209s # enum_name: some_enum_identifier 1209s # ENUMNAME: SOME_ENUM_IDENTIFIER 1209s # ENUMSHORT: ENUM_IDENTIFIER 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-production 1209s # VALUENAME: ENUM_VALUE 1209s # valuenick: value 1209s # valuenum: 0 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-tail 1209s # EnumName: SomeEnumIdentifier 1209s # enum_name: some_enum_identifier 1209s # ENUMNAME: SOME_ENUM_IDENTIFIER 1209s # ENUMSHORT: ENUM_IDENTIFIER 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 8 __main__.TestMkenums.test_enum_private_public 1209s # tmpdir: /tmp/tmpe9uir8j2 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmpe9uir8j2/tmpvaxt_zvn.h: 1209s # typedef enum { 1209s # ENUM_VALUE_PUBLIC1, 1209s # /*< private >*/ 1209s # ENUM_VALUE_PRIVATE, 1209s # } SomeEnumA 1209s # 1209s # /tmp/tmpe9uir8j2/tmpu4545qd2.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe9uir8j2/tmpu4545qd2.template', '/tmp/tmpe9uir8j2/tmpvaxt_zvn.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmpe9uir8j2/tmpvaxt_zvn.h 1209s # basename: tmpvaxt_zvn.h 1209s # enumeration-production 1209s # EnumName: SomeEnumA 1209s # enum_name: some_enum_a 1209s # ENUMNAME: SOME_ENUM_A 1209s # ENUMSHORT: ENUM_A 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-header 1209s # EnumName: SomeEnumA 1209s # enum_name: some_enum_a 1209s # ENUMNAME: SOME_ENUM_A 1209s # ENUMSHORT: ENUM_A 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-production 1209s # VALUENAME: ENUM_VALUE_PUBLIC1 1209s # valuenick: public1 1209s # valuenum: 0 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-tail 1209s # EnumName: SomeEnumA 1209s # enum_name: some_enum_a 1209s # ENUMNAME: SOME_ENUM_A 1209s # ENUMSHORT: ENUM_A 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s # /tmp/tmpe9uir8j2/tmpza6knano.h: 1209s # typedef enum { 1209s # /*< private >*/ 1209s # ENUM_VALUE_PRIVATE, 1209s # /*< public >*/ 1209s # ENUM_VALUE_PUBLIC2, 1209s # } SomeEnumB; 1209s # 1209s # /tmp/tmpe9uir8j2/tmpzx5vudyw.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe9uir8j2/tmpzx5vudyw.template', '/tmp/tmpe9uir8j2/tmpza6knano.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmpe9uir8j2/tmpza6knano.h 1209s # basename: tmpza6knano.h 1209s # enumeration-production 1209s # EnumName: SomeEnumB 1209s # enum_name: some_enum_b 1209s # ENUMNAME: SOME_ENUM_B 1209s # ENUMSHORT: ENUM_B 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-header 1209s # EnumName: SomeEnumB 1209s # enum_name: some_enum_b 1209s # ENUMNAME: SOME_ENUM_B 1209s # ENUMSHORT: ENUM_B 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-production 1209s # VALUENAME: ENUM_VALUE_PUBLIC2 1209s # valuenick: public2 1209s # valuenum: 1 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-tail 1209s # EnumName: SomeEnumB 1209s # enum_name: some_enum_b 1209s # ENUMNAME: SOME_ENUM_B 1209s # ENUMSHORT: ENUM_B 1209s # ENUMPREFIX: SOME 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1209s # tmpdir: /tmp/tmpkq92whda 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmpkq92whda/tmpyh4vnjpv.h: 1209s # typedef enum { 1209s # /*< private >*/ 1209s # ENUM_VALUE_PRIVATE = 5, 1209s # /*< public >*/ 1209s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1209s # } TestSymbolicEnum; 1209s # 1209s # /tmp/tmpkq92whda/tmp_7odcloi.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkq92whda/tmp_7odcloi.template', '/tmp/tmpkq92whda/tmpyh4vnjpv.h'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-production 1209s # filename: /tmp/tmpkq92whda/tmpyh4vnjpv.h 1209s # basename: tmpyh4vnjpv.h 1209s # enumeration-production 1209s # EnumName: TestSymbolicEnum 1209s # enum_name: test_symbolic_enum 1209s # ENUMNAME: TEST_SYMBOLIC_ENUM 1209s # ENUMSHORT: SYMBOLIC_ENUM 1209s # ENUMPREFIX: TEST 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-header 1209s # EnumName: TestSymbolicEnum 1209s # enum_name: test_symbolic_enum 1209s # ENUMNAME: TEST_SYMBOLIC_ENUM 1209s # ENUMSHORT: SYMBOLIC_ENUM 1209s # ENUMPREFIX: TEST 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-production 1209s # VALUENAME: ENUM_VALUE_PUBLIC 1209s # valuenick: public 1209s # valuenum: 7 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # value-tail 1209s # EnumName: TestSymbolicEnum 1209s # enum_name: test_symbolic_enum 1209s # ENUMNAME: TEST_SYMBOLIC_ENUM 1209s # ENUMSHORT: SYMBOLIC_ENUM 1209s # ENUMPREFIX: TEST 1209s # enumsince: 1209s # type: enum 1209s # Type: Enum 1209s # TYPE: ENUM 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1209s # tmpdir: /tmp/tmprw_dg3o8 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmprw_dg3o8/tmpn4zyqcg7.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-tail ***/ 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprw_dg3o8/tmpn4zyqcg7.template'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # file-tail 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # 1209s # comment 1209s # comment: Generated data ends here 1209s ok 11 __main__.TestMkenums.test_help 1209s # tmpdir: /tmp/tmpyu4onv8g 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # Running: ['/usr/bin/glib-mkenums', '--help'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1209s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1209s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1209s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1209s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1209s # [--output OUTPUT] [--version] 1209s # [args ...] 1209s # 1209s # positional arguments: 1209s # args One or more input files, or a single argument 1209s # @rspfile_path pointing to a file that contains the 1209s # actual arguments 1209s # 1209s # options: 1209s # -h, --help show this help message and exit 1209s # --identifier-prefix IDPREFIX 1209s # Identifier prefix 1209s # --symbol-prefix SYMPREFIX 1209s # Symbol prefix 1209s # --fhead FHEAD Output file header 1209s # --ftail FTAIL Output file footer 1209s # --fprod FPROD Put out TEXT every time a new input file is being 1209s # processed. 1209s # --eprod EPROD Per enum text, produced prior to value iterations 1209s # --vhead VHEAD Value header, produced before iterating over enum 1209s # values 1209s # --vprod VPROD Value text, produced for each enum value. 1209s # --vtail VTAIL Value tail, produced after iterating over enum values 1209s # --comments COMMENT_TMPL 1209s # Comment structure 1209s # --template TEMPLATE Template file 1209s # --output OUTPUT 1209s # --version, -v Print version information 1209s # 1209s # Production text substitutions: 1209s # @EnumName@ PrefixTheXEnum 1209s # @enum_name@ prefix_the_xenum 1209s # @ENUMNAME@ PREFIX_THE_XENUM 1209s # @ENUMSHORT@ THE_XENUM 1209s # @ENUMPREFIX@ PREFIX 1209s # @enumsince@ the user-provided since value given 1209s # @VALUENAME@ PREFIX_THE_XVALUE 1209s # @valuenick@ the-xvalue 1209s # @valuenum@ the integer value (limited support, Since: 2.26) 1209s # @type@ either enum or flags 1209s # @Type@ either Enum or Flags 1209s # @TYPE@ either ENUM or FLAGS 1209s # @filename@ name of current input file 1209s # @basename@ base name of the current input file (Since: 2.22) 1209s ok 12 __main__.TestMkenums.test_no_args 1209s # tmpdir: /tmp/tmp69k4l1lx 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # Running: ['/usr/bin/glib-mkenums'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1209s # 1209s # 1209s # /* Generated data ends here */ 1209s ok 13 __main__.TestMkenums.test_no_headers 1209s # tmpdir: /tmp/tmpuuksy0aq 1209s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1209s # /tmp/tmpuuksy0aq/tmpmq5pppqk.template: 1209s # /*** BEGIN file-header ***/ 1209s # file-header 1209s # /*** END file-header ***/ 1209s # 1209s # /*** BEGIN file-production ***/ 1209s # file-production 1209s # filename: @filename@ 1209s # basename: @basename@ 1209s # /*** END file-production ***/ 1209s # 1209s # /*** BEGIN enumeration-production ***/ 1209s # enumeration-production 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END enumeration-production ***/ 1209s # 1209s # /*** BEGIN value-header ***/ 1209s # value-header 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-header ***/ 1209s # 1209s # /*** BEGIN value-production ***/ 1209s # value-production 1209s # VALUENAME: @VALUENAME@ 1209s # valuenick: @valuenick@ 1209s # valuenum: @valuenum@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-production ***/ 1209s # 1209s # /*** BEGIN value-tail ***/ 1209s # value-tail 1209s # EnumName: @EnumName@ 1209s # enum_name: @enum_name@ 1209s # ENUMNAME: @ENUMNAME@ 1209s # ENUMSHORT: @ENUMSHORT@ 1209s # ENUMPREFIX: @ENUMPREFIX@ 1209s # enumsince: @enumsince@ 1209s # type: @type@ 1209s # Type: @Type@ 1209s # TYPE: @TYPE@ 1209s # /*** END value-tail ***/ 1209s # 1209s # /*** BEGIN comment ***/ 1209s # comment 1209s # comment: @comment@ 1209s # /*** END comment ***/ 1209s # 1209s # /*** BEGIN file-tail ***/ 1209s # file-tail 1209s # /*** END file-tail ***/ 1209s # 1209s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuuksy0aq/tmpmq5pppqk.template'] 1209s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1209s # Output: comment 1209s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1209s # 1209s # 1209s # file-header 1209s # file-tail 1209s # 1209s # comment 1209s # comment: Generated data ends here 1210s ok 14 __main__.TestMkenums.test_no_nick 1210s # tmpdir: /tmp/tmp2b67ff91 1210s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmp2b67ff91/tmp28k57rxi.h: 1210s # typedef enum { 1210s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1210s # } GeglSamplerType; 1210s # 1210s # /tmp/tmp2b67ff91/tmp_ydpqmz_.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2b67ff91/tmp_ydpqmz_.template', '/tmp/tmp2b67ff91/tmp28k57rxi.h'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmp2b67ff91/tmp28k57rxi.h 1210s # basename: tmp28k57rxi.h 1210s # enumeration-production 1210s # EnumName: GeglSamplerType 1210s # enum_name: gegl_sampler_type 1210s # ENUMNAME: GEGL_SAMPLER_TYPE 1210s # ENUMSHORT: SAMPLER_TYPE 1210s # ENUMPREFIX: GEGL 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: GeglSamplerType 1210s # enum_name: gegl_sampler_type 1210s # ENUMNAME: GEGL_SAMPLER_TYPE 1210s # ENUMSHORT: SAMPLER_TYPE 1210s # ENUMPREFIX: GEGL 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: GEGL_SAMPLER_NEAREST 1210s # valuenick: nearest 1210s # valuenum: 0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: GeglSamplerType 1210s # enum_name: gegl_sampler_type 1210s # ENUMNAME: GEGL_SAMPLER_TYPE 1210s # ENUMSHORT: SAMPLER_TYPE 1210s # ENUMPREFIX: GEGL 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1210s # tmpdir: /tmp/tmpgz0kdj9f 1210s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpgz0kdj9f/tmpwvbz4nc0.h: 1210s # /* Copyright © La Peña */ 1210s # typedef enum { 1210s # ENUM_VALUE 1210s # } SomeEnumIdentifier; 1210s # 1210s # /tmp/tmpgz0kdj9f/tmpgjpdpijd.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgz0kdj9f/tmpgjpdpijd.template', '/tmp/tmpgz0kdj9f/tmpwvbz4nc0.h'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmpgz0kdj9f/tmpwvbz4nc0.h 1210s # basename: tmpwvbz4nc0.h 1210s # enumeration-production 1210s # EnumName: SomeEnumIdentifier 1210s # enum_name: some_enum_identifier 1210s # ENUMNAME: SOME_ENUM_IDENTIFIER 1210s # ENUMSHORT: ENUM_IDENTIFIER 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: SomeEnumIdentifier 1210s # enum_name: some_enum_identifier 1210s # ENUMNAME: SOME_ENUM_IDENTIFIER 1210s # ENUMSHORT: ENUM_IDENTIFIER 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: ENUM_VALUE 1210s # valuenick: value 1210s # valuenum: 0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: SomeEnumIdentifier 1210s # enum_name: some_enum_identifier 1210s # ENUMNAME: SOME_ENUM_IDENTIFIER 1210s # ENUMSHORT: ENUM_IDENTIFIER 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 16 __main__.TestMkenums.test_reproducible 1210s # tmpdir: /tmp/tmpnqe_28y2 1210s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpnqe_28y2/tmpvt9me7th.template: template 1210s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnqe_28y2/tmpvt9me7th.template', '/tmp/tmpnqe_28y2/tmpep32po_n1.h', '/tmp/tmpnqe_28y2/tmpdf0l6_td2.h'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1210s # 1210s # 1210s # /* Generated data ends here */ 1210s # /tmp/tmpnqe_28y2/tmpo38ba7d2.template: template 1210s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnqe_28y2/tmpo38ba7d2.template', '/tmp/tmpnqe_28y2/tmpdf0l6_td2.h', '/tmp/tmpnqe_28y2/tmpep32po_n1.h'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1210s # 1210s # 1210s # /* Generated data ends here */ 1210s ok 17 __main__.TestMkenums.test_since 1210s # tmpdir: /tmp/tmpn464smes 1210s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpn464smes/tmpdffwnlb3.h: 1210s # typedef enum { /*< since=1.0 >*/ 1210s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1210s # } QmiWmsMessageProtocol; 1210s # 1210s # /tmp/tmpn464smes/tmp6g7lr27j.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn464smes/tmp6g7lr27j.template', '/tmp/tmpn464smes/tmpdffwnlb3.h'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmpn464smes/tmpdffwnlb3.h 1210s # basename: tmpdffwnlb3.h 1210s # enumeration-production 1210s # EnumName: QmiWmsMessageProtocol 1210s # enum_name: qmi_wms_message_protocol 1210s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1210s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1210s # ENUMPREFIX: QMI 1210s # enumsince: 1.0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: QmiWmsMessageProtocol 1210s # enum_name: qmi_wms_message_protocol 1210s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1210s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1210s # ENUMPREFIX: QMI 1210s # enumsince: 1.0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1210s # valuenick: cdma 1210s # valuenum: 0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: QmiWmsMessageProtocol 1210s # enum_name: qmi_wms_message_protocol 1210s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1210s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1210s # ENUMPREFIX: QMI 1210s # enumsince: 1.0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 18 __main__.TestMkenums.test_with_double_quotes 1210s # tmpdir: /tmp/tmp5vjrmuya 1210s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmp5vjrmuya/tmp0x7msc_4.h: 1210s # typedef enum { 1210s # FOO_VALUE /*< nick="eek, a comma" >*/ 1210s # } Foo; 1210s # 1210s # /tmp/tmp5vjrmuya/tmpegj3o3rc.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5vjrmuya/tmpegj3o3rc.template', '/tmp/tmp5vjrmuya/tmp0x7msc_4.h'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmp5vjrmuya/tmp0x7msc_4.h 1210s # basename: tmp0x7msc_4.h 1210s # enumeration-production 1210s # EnumName: Foo 1210s # enum_name: foo_ 1210s # ENUMNAME: FOO_ 1210s # ENUMSHORT: 1210s # ENUMPREFIX: FOO 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: Foo 1210s # enum_name: foo_ 1210s # ENUMNAME: FOO_ 1210s # ENUMSHORT: 1210s # ENUMPREFIX: FOO 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: FOO_VALUE 1210s # valuenick: eek, a comma 1210s # valuenum: 0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: Foo 1210s # enum_name: foo_ 1210s # ENUMNAME: FOO_ 1210s # ENUMSHORT: 1210s # ENUMPREFIX: FOO 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 19 __main__.TestRspMkenums.test_available_in 1210s # tmpdir: /tmp/tmpj55bnrd_ 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpj55bnrd_/tmpargtf267.h: 1210s # typedef enum { 1210s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1210s # } GDBusServerFlags; 1210s # 1210s # /tmp/tmpj55bnrd_/tmp_jy62bpw.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmpj55bnrd_/tmp_jy62bpw.template /tmp/tmpj55bnrd_/tmpargtf267.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj55bnrd_/tmpk7hs5xyy'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmpj55bnrd_/tmpargtf267.h 1210s # basename: tmpargtf267.h 1210s # enumeration-production 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-header 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-production 1210s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1210s # valuenick: user 1210s # valuenum: 4 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-tail 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1210s # tmpdir: /tmp/tmp7ygfjn_n 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmp7ygfjn_n/tmp2r0c50d4.h: 1210s # typedef enum { 1210s # ENUM_VALUE_WITH_COMMA = ',', 1210s # } TestCommaEnum; 1210s # 1210s # /tmp/tmp7ygfjn_n/tmp1wa5x2pk.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmp7ygfjn_n/tmp1wa5x2pk.template /tmp/tmp7ygfjn_n/tmp2r0c50d4.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7ygfjn_n/tmphw060byn'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmp7ygfjn_n/tmp2r0c50d4.h 1210s # basename: tmp2r0c50d4.h 1210s # enumeration-production 1210s # EnumName: TestCommaEnum 1210s # enum_name: test_comma_enum 1210s # ENUMNAME: TEST_COMMA_ENUM 1210s # ENUMSHORT: COMMA_ENUM 1210s # ENUMPREFIX: TEST 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: TestCommaEnum 1210s # enum_name: test_comma_enum 1210s # ENUMNAME: TEST_COMMA_ENUM 1210s # ENUMSHORT: COMMA_ENUM 1210s # ENUMPREFIX: TEST 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: ENUM_VALUE_WITH_COMMA 1210s # valuenick: comma 1210s # valuenum: 44 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: TestCommaEnum 1210s # enum_name: test_comma_enum 1210s # ENUMNAME: TEST_COMMA_ENUM 1210s # ENUMSHORT: COMMA_ENUM 1210s # ENUMPREFIX: TEST 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 21 __main__.TestRspMkenums.test_deprecated_in 1210s # tmpdir: /tmp/tmpz1pmb8vy 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpz1pmb8vy/tmpwhub4wsw.h: 1210s # typedef enum { 1210s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1210s # } GDBusServerFlags; 1210s # 1210s # /tmp/tmpz1pmb8vy/tmpab_5aery.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmpz1pmb8vy/tmpab_5aery.template /tmp/tmpz1pmb8vy/tmpwhub4wsw.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz1pmb8vy/tmp3_45vhd2'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmpz1pmb8vy/tmpwhub4wsw.h 1210s # basename: tmpwhub4wsw.h 1210s # enumeration-production 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-header 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-production 1210s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1210s # valuenick: user 1210s # valuenum: 4 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-tail 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1210s # tmpdir: /tmp/tmpxtk95pqh 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpxtk95pqh/tmpzz0o8zpu.h: 1210s # typedef enum { 1210s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER2) = (1<<2) 1210s # } GDBusServerFlags; 1210s # 1210s # /tmp/tmpxtk95pqh/tmpqo4ec5p0.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmpxtk95pqh/tmpqo4ec5p0.template /tmp/tmpxtk95pqh/tmpzz0o8zpu.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxtk95pqh/tmp1znw128y'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmpxtk95pqh/tmpzz0o8zpu.h 1210s # basename: tmpzz0o8zpu.h 1210s # enumeration-production 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-header 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-production 1210s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1210s # valuenick: user 1210s # valuenum: 4 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # value-tail 1210s # EnumName: GDBusServerFlags 1210s # enum_name: g_dbus_server_flags 1210s # ENUMNAME: G_DBUS_SERVER_FLAGS 1210s # ENUMSHORT: DBUS_SERVER_FLAGS 1210s # ENUMPREFIX: G 1210s # enumsince: 1210s # type: flags 1210s # Type: Flags 1210s # TYPE: FLAGS 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 23 __main__.TestRspMkenums.test_empty_header 1210s # tmpdir: /tmp/tmpsurimds3 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpsurimds3/tmprb2vitj4.h: 1210s # /tmp/tmpsurimds3/tmp8339lcyl.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmpsurimds3/tmp8339lcyl.template /tmp/tmpsurimds3/tmprb2vitj4.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsurimds3/tmpxtuxifhe'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 24 __main__.TestRspMkenums.test_empty_template 1210s # tmpdir: /tmp/tmpjhohwodn 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpjhohwodn/tmppx65gv1y.template: 1210s # Response file contains: --template /tmp/tmpjhohwodn/tmppx65gv1y.template 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjhohwodn/tmp47e7esuu'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1210s # 1210s # 1210s # /* Generated data ends here */ 1210s ok 25 __main__.TestRspMkenums.test_enum_name 1210s # tmpdir: /tmp/tmpkwbqj2jo 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpkwbqj2jo/tmpi52kco_l.h: 1210s # typedef enum _SomeEnumIdentifier { 1210s # ENUM_VALUE 1210s # } SomeEnumIdentifier; 1210s # 1210s # /tmp/tmpkwbqj2jo/tmpz53g4g6i.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmpkwbqj2jo/tmpz53g4g6i.template /tmp/tmpkwbqj2jo/tmpi52kco_l.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkwbqj2jo/tmpay4dmvxz'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmpkwbqj2jo/tmpi52kco_l.h 1210s # basename: tmpi52kco_l.h 1210s # enumeration-production 1210s # EnumName: SomeEnumIdentifier 1210s # enum_name: some_enum_identifier 1210s # ENUMNAME: SOME_ENUM_IDENTIFIER 1210s # ENUMSHORT: ENUM_IDENTIFIER 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: SomeEnumIdentifier 1210s # enum_name: some_enum_identifier 1210s # ENUMNAME: SOME_ENUM_IDENTIFIER 1210s # ENUMSHORT: ENUM_IDENTIFIER 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: ENUM_VALUE 1210s # valuenick: value 1210s # valuenum: 0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: SomeEnumIdentifier 1210s # enum_name: some_enum_identifier 1210s # ENUMNAME: SOME_ENUM_IDENTIFIER 1210s # ENUMSHORT: ENUM_IDENTIFIER 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 26 __main__.TestRspMkenums.test_enum_private_public 1210s # tmpdir: /tmp/tmplquwj4k1 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmplquwj4k1/tmpcjm2pz5a.h: 1210s # typedef enum { 1210s # ENUM_VALUE_PUBLIC1, 1210s # /*< private >*/ 1210s # ENUM_VALUE_PRIVATE, 1210s # } SomeEnumA 1210s # 1210s # /tmp/tmplquwj4k1/tmp8nr370pf.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmplquwj4k1/tmp8nr370pf.template /tmp/tmplquwj4k1/tmpcjm2pz5a.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplquwj4k1/tmpibeshs1y'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmplquwj4k1/tmpcjm2pz5a.h 1210s # basename: tmpcjm2pz5a.h 1210s # enumeration-production 1210s # EnumName: SomeEnumA 1210s # enum_name: some_enum_a 1210s # ENUMNAME: SOME_ENUM_A 1210s # ENUMSHORT: ENUM_A 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: SomeEnumA 1210s # enum_name: some_enum_a 1210s # ENUMNAME: SOME_ENUM_A 1210s # ENUMSHORT: ENUM_A 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: ENUM_VALUE_PUBLIC1 1210s # valuenick: public1 1210s # valuenum: 0 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: SomeEnumA 1210s # enum_name: some_enum_a 1210s # ENUMNAME: SOME_ENUM_A 1210s # ENUMSHORT: ENUM_A 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s # /tmp/tmplquwj4k1/tmpbc_hlcvi.h: 1210s # typedef enum { 1210s # /*< private >*/ 1210s # ENUM_VALUE_PRIVATE, 1210s # /*< public >*/ 1210s # ENUM_VALUE_PUBLIC2, 1210s # } SomeEnumB; 1210s # 1210s # /tmp/tmplquwj4k1/tmprxlh5naz.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmplquwj4k1/tmprxlh5naz.template /tmp/tmplquwj4k1/tmpbc_hlcvi.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplquwj4k1/tmph9709hh2'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmplquwj4k1/tmpbc_hlcvi.h 1210s # basename: tmpbc_hlcvi.h 1210s # enumeration-production 1210s # EnumName: SomeEnumB 1210s # enum_name: some_enum_b 1210s # ENUMNAME: SOME_ENUM_B 1210s # ENUMSHORT: ENUM_B 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: SomeEnumB 1210s # enum_name: some_enum_b 1210s # ENUMNAME: SOME_ENUM_B 1210s # ENUMSHORT: ENUM_B 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: ENUM_VALUE_PUBLIC2 1210s # valuenick: public2 1210s # valuenum: 1 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: SomeEnumB 1210s # enum_name: some_enum_b 1210s # ENUMNAME: SOME_ENUM_B 1210s # ENUMSHORT: ENUM_B 1210s # ENUMPREFIX: SOME 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1210s # tmpdir: /tmp/tmp4i74vqwk 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmp4i74vqwk/tmp60cnpy3z.h: 1210s # typedef enum { 1210s # /*< private >*/ 1210s # ENUM_VALUE_PRIVATE = 5, 1210s # /*< public >*/ 1210s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1210s # } TestSymbolicEnum; 1210s # 1210s # /tmp/tmp4i74vqwk/tmp2gppq4s8.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN file-production ***/ 1210s # file-production 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-production ***/ 1210s # 1210s # /*** BEGIN enumeration-production ***/ 1210s # enumeration-production 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END enumeration-production ***/ 1210s # 1210s # /*** BEGIN value-header ***/ 1210s # value-header 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-header ***/ 1210s # 1210s # /*** BEGIN value-production ***/ 1210s # value-production 1210s # VALUENAME: @VALUENAME@ 1210s # valuenick: @valuenick@ 1210s # valuenum: @valuenum@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-production ***/ 1210s # 1210s # /*** BEGIN value-tail ***/ 1210s # value-tail 1210s # EnumName: @EnumName@ 1210s # enum_name: @enum_name@ 1210s # ENUMNAME: @ENUMNAME@ 1210s # ENUMSHORT: @ENUMSHORT@ 1210s # ENUMPREFIX: @ENUMPREFIX@ 1210s # enumsince: @enumsince@ 1210s # type: @type@ 1210s # Type: @Type@ 1210s # TYPE: @TYPE@ 1210s # /*** END value-tail ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # /*** END file-tail ***/ 1210s # 1210s # Response file contains: --template /tmp/tmp4i74vqwk/tmp2gppq4s8.template /tmp/tmp4i74vqwk/tmp60cnpy3z.h 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4i74vqwk/tmpsg3tjabe'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # file-production 1210s # filename: /tmp/tmp4i74vqwk/tmp60cnpy3z.h 1210s # basename: tmp60cnpy3z.h 1210s # enumeration-production 1210s # EnumName: TestSymbolicEnum 1210s # enum_name: test_symbolic_enum 1210s # ENUMNAME: TEST_SYMBOLIC_ENUM 1210s # ENUMSHORT: SYMBOLIC_ENUM 1210s # ENUMPREFIX: TEST 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-header 1210s # EnumName: TestSymbolicEnum 1210s # enum_name: test_symbolic_enum 1210s # ENUMNAME: TEST_SYMBOLIC_ENUM 1210s # ENUMSHORT: SYMBOLIC_ENUM 1210s # ENUMPREFIX: TEST 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-production 1210s # VALUENAME: ENUM_VALUE_PUBLIC 1210s # valuenick: public 1210s # valuenum: 7 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # value-tail 1210s # EnumName: TestSymbolicEnum 1210s # enum_name: test_symbolic_enum 1210s # ENUMNAME: TEST_SYMBOLIC_ENUM 1210s # ENUMSHORT: SYMBOLIC_ENUM 1210s # ENUMPREFIX: TEST 1210s # enumsince: 1210s # type: enum 1210s # Type: Enum 1210s # TYPE: ENUM 1210s # file-tail 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1210s # tmpdir: /tmp/tmpg4c0xooi 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # /tmp/tmpg4c0xooi/tmp9dkmjy1v.template: 1210s # /*** BEGIN file-header ***/ 1210s # file-header 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-header ***/ 1210s # 1210s # /*** BEGIN comment ***/ 1210s # comment 1210s # comment: @comment@ 1210s # /*** END comment ***/ 1210s # 1210s # /*** BEGIN file-tail ***/ 1210s # file-tail 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # /*** END file-tail ***/ 1210s # Response file contains: --template /tmp/tmpg4c0xooi/tmp9dkmjy1v.template 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg4c0xooi/tmpjnwqn06g'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: comment 1210s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1210s # 1210s # 1210s # file-header 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # file-tail 1210s # filename: @filename@ 1210s # basename: @basename@ 1210s # 1210s # comment 1210s # comment: Generated data ends here 1210s ok 29 __main__.TestRspMkenums.test_help 1210s # tmpdir: /tmp/tmprtuij7dk 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # Response file contains: --help 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprtuij7dk/tmpm616g6iw'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1210s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1210s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1210s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1210s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1210s # [--output OUTPUT] [--version] 1210s # [args ...] 1210s # 1210s # positional arguments: 1210s # args One or more input files, or a single argument 1210s # @rspfile_path pointing to a file that contains the 1210s # actual arguments 1210s # 1210s # options: 1210s # -h, --help show this help message and exit 1210s # --identifier-prefix IDPREFIX 1210s # Identifier prefix 1210s # --symbol-prefix SYMPREFIX 1210s # Symbol prefix 1210s # --fhead FHEAD Output file header 1210s # --ftail FTAIL Output file footer 1210s # --fprod FPROD Put out TEXT every time a new input file is being 1210s # processed. 1210s # --eprod EPROD Per enum text, produced prior to value iterations 1210s # --vhead VHEAD Value header, produced before iterating over enum 1210s # values 1210s # --vprod VPROD Value text, produced for each enum value. 1210s # --vtail VTAIL Value tail, produced after iterating over enum values 1210s # --comments COMMENT_TMPL 1210s # Comment structure 1210s # --template TEMPLATE Template file 1210s # --output OUTPUT 1210s # --version, -v Print version information 1210s # 1210s # Production text substitutions: 1210s # @EnumName@ PrefixTheXEnum 1210s # @enum_name@ prefix_the_xenum 1210s # @ENUMNAME@ PREFIX_THE_XENUM 1210s # @ENUMSHORT@ THE_XENUM 1210s # @ENUMPREFIX@ PREFIX 1210s # @enumsince@ the user-provided since value given 1210s # @VALUENAME@ PREFIX_THE_XVALUE 1210s # @valuenick@ the-xvalue 1210s # @valuenum@ the integer value (limited support, Since: 2.26) 1210s # @type@ either enum or flags 1210s # @Type@ either Enum or Flags 1210s # @TYPE@ either ENUM or FLAGS 1210s # @filename@ name of current input file 1210s # @basename@ base name of the current input file (Since: 2.22) 1210s ok 30 __main__.TestRspMkenums.test_no_args 1210s # tmpdir: /tmp/tmpn13atetq 1210s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1210s # Response file contains: 1210s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn13atetq/tmpn1qwnlzm'] 1210s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1210s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1210s # 1210s # 1210s # /* Generated data ends here */ 1211s ok 31 __main__.TestRspMkenums.test_no_headers 1211s # tmpdir: /tmp/tmpjtxd2aa7 1211s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1211s # /tmp/tmpjtxd2aa7/tmpat0ywkw6.template: 1211s # /*** BEGIN file-header ***/ 1211s # file-header 1211s # /*** END file-header ***/ 1211s # 1211s # /*** BEGIN file-production ***/ 1211s # file-production 1211s # filename: @filename@ 1211s # basename: @basename@ 1211s # /*** END file-production ***/ 1211s # 1211s # /*** BEGIN enumeration-production ***/ 1211s # enumeration-production 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END enumeration-production ***/ 1211s # 1211s # /*** BEGIN value-header ***/ 1211s # value-header 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-header ***/ 1211s # 1211s # /*** BEGIN value-production ***/ 1211s # value-production 1211s # VALUENAME: @VALUENAME@ 1211s # valuenick: @valuenick@ 1211s # valuenum: @valuenum@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-production ***/ 1211s # 1211s # /*** BEGIN value-tail ***/ 1211s # value-tail 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-tail ***/ 1211s # 1211s # /*** BEGIN comment ***/ 1211s # comment 1211s # comment: @comment@ 1211s # /*** END comment ***/ 1211s # 1211s # /*** BEGIN file-tail ***/ 1211s # file-tail 1211s # /*** END file-tail ***/ 1211s # 1211s # Response file contains: --template /tmp/tmpjtxd2aa7/tmpat0ywkw6.template 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjtxd2aa7/tmprumgoxpa'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: comment 1211s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1211s # 1211s # 1211s # file-header 1211s # file-tail 1211s # 1211s # comment 1211s # comment: Generated data ends here 1211s ok 32 __main__.TestRspMkenums.test_no_nick 1211s # tmpdir: /tmp/tmphx2n6ii2 1211s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1211s # /tmp/tmphx2n6ii2/tmpqu8b6nbu.h: 1211s # typedef enum { 1211s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1211s # } GeglSamplerType; 1211s # 1211s # /tmp/tmphx2n6ii2/tmp2e1hfbyq.template: 1211s # /*** BEGIN file-header ***/ 1211s # file-header 1211s # /*** END file-header ***/ 1211s # 1211s # /*** BEGIN file-production ***/ 1211s # file-production 1211s # filename: @filename@ 1211s # basename: @basename@ 1211s # /*** END file-production ***/ 1211s # 1211s # /*** BEGIN enumeration-production ***/ 1211s # enumeration-production 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END enumeration-production ***/ 1211s # 1211s # /*** BEGIN value-header ***/ 1211s # value-header 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-header ***/ 1211s # 1211s # /*** BEGIN value-production ***/ 1211s # value-production 1211s # VALUENAME: @VALUENAME@ 1211s # valuenick: @valuenick@ 1211s # valuenum: @valuenum@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-production ***/ 1211s # 1211s # /*** BEGIN value-tail ***/ 1211s # value-tail 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-tail ***/ 1211s # 1211s # /*** BEGIN comment ***/ 1211s # comment 1211s # comment: @comment@ 1211s # /*** END comment ***/ 1211s # 1211s # /*** BEGIN file-tail ***/ 1211s # file-tail 1211s # /*** END file-tail ***/ 1211s # 1211s # Response file contains: --template /tmp/tmphx2n6ii2/tmp2e1hfbyq.template /tmp/tmphx2n6ii2/tmpqu8b6nbu.h 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphx2n6ii2/tmpeapc2xf8'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: comment 1211s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1211s # 1211s # 1211s # file-header 1211s # file-production 1211s # filename: /tmp/tmphx2n6ii2/tmpqu8b6nbu.h 1211s # basename: tmpqu8b6nbu.h 1211s # enumeration-production 1211s # EnumName: GeglSamplerType 1211s # enum_name: gegl_sampler_type 1211s # ENUMNAME: GEGL_SAMPLER_TYPE 1211s # ENUMSHORT: SAMPLER_TYPE 1211s # ENUMPREFIX: GEGL 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-header 1211s # EnumName: GeglSamplerType 1211s # enum_name: gegl_sampler_type 1211s # ENUMNAME: GEGL_SAMPLER_TYPE 1211s # ENUMSHORT: SAMPLER_TYPE 1211s # ENUMPREFIX: GEGL 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-production 1211s # VALUENAME: GEGL_SAMPLER_NEAREST 1211s # valuenick: nearest 1211s # valuenum: 0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-tail 1211s # EnumName: GeglSamplerType 1211s # enum_name: gegl_sampler_type 1211s # ENUMNAME: GEGL_SAMPLER_TYPE 1211s # ENUMSHORT: SAMPLER_TYPE 1211s # ENUMPREFIX: GEGL 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # file-tail 1211s # 1211s # comment 1211s # comment: Generated data ends here 1211s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1211s # tmpdir: /tmp/tmpd2c043bt 1211s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1211s # /tmp/tmpd2c043bt/tmpj9ts6izk.h: 1211s # /* Copyright © La Peña */ 1211s # typedef enum { 1211s # ENUM_VALUE 1211s # } SomeEnumIdentifier; 1211s # 1211s # /tmp/tmpd2c043bt/tmpq2i8fj45.template: 1211s # /*** BEGIN file-header ***/ 1211s # file-header 1211s # /*** END file-header ***/ 1211s # 1211s # /*** BEGIN file-production ***/ 1211s # file-production 1211s # filename: @filename@ 1211s # basename: @basename@ 1211s # /*** END file-production ***/ 1211s # 1211s # /*** BEGIN enumeration-production ***/ 1211s # enumeration-production 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END enumeration-production ***/ 1211s # 1211s # /*** BEGIN value-header ***/ 1211s # value-header 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-header ***/ 1211s # 1211s # /*** BEGIN value-production ***/ 1211s # value-production 1211s # VALUENAME: @VALUENAME@ 1211s # valuenick: @valuenick@ 1211s # valuenum: @valuenum@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-production ***/ 1211s # 1211s # /*** BEGIN value-tail ***/ 1211s # value-tail 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-tail ***/ 1211s # 1211s # /*** BEGIN comment ***/ 1211s # comment 1211s # comment: @comment@ 1211s # /*** END comment ***/ 1211s # 1211s # /*** BEGIN file-tail ***/ 1211s # file-tail 1211s # /*** END file-tail ***/ 1211s # 1211s # Response file contains: --template /tmp/tmpd2c043bt/tmpq2i8fj45.template /tmp/tmpd2c043bt/tmpj9ts6izk.h 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd2c043bt/tmpfji5egpj'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: comment 1211s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1211s # 1211s # 1211s # file-header 1211s # file-production 1211s # filename: /tmp/tmpd2c043bt/tmpj9ts6izk.h 1211s # basename: tmpj9ts6izk.h 1211s # enumeration-production 1211s # EnumName: SomeEnumIdentifier 1211s # enum_name: some_enum_identifier 1211s # ENUMNAME: SOME_ENUM_IDENTIFIER 1211s # ENUMSHORT: ENUM_IDENTIFIER 1211s # ENUMPREFIX: SOME 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-header 1211s # EnumName: SomeEnumIdentifier 1211s # enum_name: some_enum_identifier 1211s # ENUMNAME: SOME_ENUM_IDENTIFIER 1211s # ENUMSHORT: ENUM_IDENTIFIER 1211s # ENUMPREFIX: SOME 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-production 1211s # VALUENAME: ENUM_VALUE 1211s # valuenick: value 1211s # valuenum: 0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-tail 1211s # EnumName: SomeEnumIdentifier 1211s # enum_name: some_enum_identifier 1211s # ENUMNAME: SOME_ENUM_IDENTIFIER 1211s # ENUMSHORT: ENUM_IDENTIFIER 1211s # ENUMPREFIX: SOME 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # file-tail 1211s # 1211s # comment 1211s # comment: Generated data ends here 1211s ok 34 __main__.TestRspMkenums.test_reproducible 1211s # tmpdir: /tmp/tmp27xhfni1 1211s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1211s # /tmp/tmp27xhfni1/tmpkusymuxq.template: template 1211s # Response file contains: --template /tmp/tmp27xhfni1/tmpkusymuxq.template /tmp/tmp27xhfni1/tmpw0ef0vhi1.h /tmp/tmp27xhfni1/tmptlzur1ro2.h 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp27xhfni1/tmpt571armr'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1211s # 1211s # 1211s # /* Generated data ends here */ 1211s # /tmp/tmp27xhfni1/tmpqvzzksex.template: template 1211s # Response file contains: --template /tmp/tmp27xhfni1/tmpqvzzksex.template /tmp/tmp27xhfni1/tmptlzur1ro2.h /tmp/tmp27xhfni1/tmpw0ef0vhi1.h 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp27xhfni1/tmpeyhcmyiy'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1211s # 1211s # 1211s # /* Generated data ends here */ 1211s ok 35 __main__.TestRspMkenums.test_since 1211s # tmpdir: /tmp/tmp40pxjb5j 1211s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1211s # /tmp/tmp40pxjb5j/tmpuo6up1xh.h: 1211s # typedef enum { /*< since=1.0 >*/ 1211s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1211s # } QmiWmsMessageProtocol; 1211s # 1211s # /tmp/tmp40pxjb5j/tmp3qov4t3y.template: 1211s # /*** BEGIN file-header ***/ 1211s # file-header 1211s # /*** END file-header ***/ 1211s # 1211s # /*** BEGIN file-production ***/ 1211s # file-production 1211s # filename: @filename@ 1211s # basename: @basename@ 1211s # /*** END file-production ***/ 1211s # 1211s # /*** BEGIN enumeration-production ***/ 1211s # enumeration-production 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END enumeration-production ***/ 1211s # 1211s # /*** BEGIN value-header ***/ 1211s # value-header 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-header ***/ 1211s # 1211s # /*** BEGIN value-production ***/ 1211s # value-production 1211s # VALUENAME: @VALUENAME@ 1211s # valuenick: @valuenick@ 1211s # valuenum: @valuenum@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-production ***/ 1211s # 1211s # /*** BEGIN value-tail ***/ 1211s # value-tail 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-tail ***/ 1211s # 1211s # /*** BEGIN comment ***/ 1211s # comment 1211s # comment: @comment@ 1211s # /*** END comment ***/ 1211s # 1211s # /*** BEGIN file-tail ***/ 1211s # file-tail 1211s # /*** END file-tail ***/ 1211s # 1211s # Response file contains: --template /tmp/tmp40pxjb5j/tmp3qov4t3y.template /tmp/tmp40pxjb5j/tmpuo6up1xh.h 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp40pxjb5j/tmpm68t88ly'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: comment 1211s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1211s # 1211s # 1211s # file-header 1211s # file-production 1211s # filename: /tmp/tmp40pxjb5j/tmpuo6up1xh.h 1211s # basename: tmpuo6up1xh.h 1211s # enumeration-production 1211s # EnumName: QmiWmsMessageProtocol 1211s # enum_name: qmi_wms_message_protocol 1211s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1211s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1211s # ENUMPREFIX: QMI 1211s # enumsince: 1.0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-header 1211s # EnumName: QmiWmsMessageProtocol 1211s # enum_name: qmi_wms_message_protocol 1211s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1211s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1211s # ENUMPREFIX: QMI 1211s # enumsince: 1.0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-production 1211s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1211s # valuenick: cdma 1211s # valuenum: 0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-tail 1211s # EnumName: QmiWmsMessageProtocol 1211s # enum_name: qmi_wms_message_protocol 1211s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1211s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1211s # ENUMPREFIX: QMI 1211s # enumsince: 1.0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # file-tail 1211s # 1211s # comment 1211s # comment: Generated data ends here 1211s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1211s # tmpdir: /tmp/tmpdokrzl0e 1211s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1211s # /tmp/tmpdokrzl0e/tmpwnm5s764.h: 1211s # typedef enum { 1211s # FOO_VALUE /*< nick="eek, a comma" >*/ 1211s # } Foo; 1211s # 1211s # /tmp/tmpdokrzl0e/tmpuwnwa4s7.template: 1211s # /*** BEGIN file-header ***/ 1211s # file-header 1211s # /*** END file-header ***/ 1211s # 1211s # /*** BEGIN file-production ***/ 1211s # file-production 1211s # filename: @filename@ 1211s # basename: @basename@ 1211s # /*** END file-production ***/ 1211s # 1211s # /*** BEGIN enumeration-production ***/ 1211s # enumeration-production 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END enumeration-production ***/ 1211s # 1211s # /*** BEGIN value-header ***/ 1211s # value-header 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-header ***/ 1211s # 1211s # /*** BEGIN value-production ***/ 1211s # value-production 1211s # VALUENAME: @VALUENAME@ 1211s # valuenick: @valuenick@ 1211s # valuenum: @valuenum@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-production ***/ 1211s # 1211s # /*** BEGIN value-tail ***/ 1211s # value-tail 1211s # EnumName: @EnumName@ 1211s # enum_name: @enum_name@ 1211s # ENUMNAME: @ENUMNAME@ 1211s # ENUMSHORT: @ENUMSHORT@ 1211s # ENUMPREFIX: @ENUMPREFIX@ 1211s # enumsince: @enumsince@ 1211s # type: @type@ 1211s # Type: @Type@ 1211s # TYPE: @TYPE@ 1211s # /*** END value-tail ***/ 1211s # 1211s # /*** BEGIN comment ***/ 1211s # comment 1211s # comment: @comment@ 1211s # /*** END comment ***/ 1211s # 1211s # /*** BEGIN file-tail ***/ 1211s # file-tail 1211s # /*** END file-tail ***/ 1211s # 1211s # Response file contains: --template /tmp/tmpdokrzl0e/tmpuwnwa4s7.template /tmp/tmpdokrzl0e/tmpwnm5s764.h 1211s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdokrzl0e/tmpet7d2_e4'] 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-ROMSnKzEP0,guid=345d5497588d0e3b801fe11c678645c6', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.U3etz3/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.IBlEijTUm0', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3WSE9W/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.U3etz3/wrapper.sh --artifacts=/tmp/autopkgtest.U3etz3/installed-tests-artifacts --chdir=/tmp/autopkgtest.U3etz3/build.oBW/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.U3etz3/installed-tests-stderr --stdout=/tmp/autopkgtest.U3etz3/installed-tests-stdout --tmp=/tmp/autopkgtest.U3etz3/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=util-linux/2.40.2-14ubuntu1 golang-github-containers-buildah/1.38.0+ds1-2 golang-github-containers-psgo/1.9.0-1 mmdebstrap/1.5.6-2 shadow/1:4.16.0-7ubuntu1 sssd/2.10.1-1ubuntu2' --make-executable=/tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests -- /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.U3etz3/build.oBW/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.U3etz3/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Output: comment 1211s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1211s # 1211s # 1211s # file-header 1211s # file-production 1211s # filename: /tmp/tmpdokrzl0e/tmpwnm5s764.h 1211s # basename: tmpwnm5s764.h 1211s # enumeration-production 1211s # EnumName: Foo 1211s # enum_name: foo_ 1211s # ENUMNAME: FOO_ 1211s # ENUMSHORT: 1211s # ENUMPREFIX: FOO 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-header 1211s # EnumName: Foo 1211s # enum_name: foo_ 1211s # ENUMNAME: FOO_ 1211s # ENUMSHORT: 1211s # ENUMPREFIX: FOO 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-production 1211s # VALUENAME: FOO_VALUE 1211s # valuenick: eek, a comma 1211s # valuenum: 0 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # value-tail 1211s # EnumName: Foo 1211s # enum_name: foo_ 1211s # ENUMNAME: FOO_ 1211s # ENUMSHORT: 1211s # ENUMPREFIX: FOO 1211s # enumsince: 1211s # type: enum 1211s # Type: Enum 1211s # TYPE: ENUM 1211s # file-tail 1211s # 1211s # comment 1211s # comment: Generated data ends here 1211s 1..36 1211s ok - glib/mkenums.py.test 1211s # Running test: glib/unix-mounts.test 1211s TAP version 14 1211s # random seed: R02Sa8f8d9c00cefc4d9f19cfcc63b5c25d9 1211s 1..4 1211s # Start of unix-mounts tests 1211s ok 1 /unix-mounts/is-system-fs-type 1211s ok 2 /unix-mounts/is-system-device-path 1211s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1211s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1211s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1211s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1211s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1211s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1211s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1211s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1211s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1211s ok 3 /unix-mounts/get-mount-points 1211s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1211s ok 4 /unix-mounts/get-mount-entries 1211s # End of unix-mounts tests 1211s ok - glib/unix-mounts.test 1211s # Running test: glib/cxx-11.test 1211s TAP version 14 1211s # random seed: R02S1774591162a10cbdc32d41287aa6d8ac 1211s 1..2 1211s # Start of gtask tests 1211s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1211s ok 1 /gtask/name 1211s # Start of name tests 1211s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1211s ok 2 /gtask/name/macro-wrapper 1211s # End of name tests 1211s # End of gtask tests 1211s ok - glib/cxx-11.test 1211s # Running test: glib/union-info.test 1211s TAP version 14 1211s # random seed: R02S1be090ac7ba272abd54e745af61ae1cf 1211s 1..2 1211s # Start of union-info tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_R4Q9Z2/union-info/basic/.dirs/runtime 1211s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1211s # /union-info/basic summary: Test basic properties of GIUnionInfo 1211s ok 1 /union-info/basic 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_R4Q9Z2/union-info/methods/.dirs/runtime 1211s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1211s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1211s ok 2 /union-info/methods 1211s # End of union-info tests 1211s ok - glib/union-info.test 1211s # Running test: glib/macros-c-17.test 1211s TAP version 14 1211s # random seed: R02S455bf5229b41550ded0c8636e9fbfdd5 1211s 1..4 1211s # Start of C tests 1211s ok 1 /C/standard-17 1211s # End of C tests 1211s # Start of alignof tests 1211s ok 2 /alignof/fallback 1211s # End of alignof tests 1211s # Start of assert tests 1211s ok 3 /assert/static 1211s # End of assert tests 1211s # Start of struct tests 1211s ok 4 /struct/sizeof_member 1211s # End of struct tests 1211s ok - glib/macros-c-17.test 1211s # Running test: glib/pathbuf.test 1211s TAP version 14 1211s # random seed: R02S5598b8c1b6fee6258d6515f07402ad28 1211s 1..3 1211s # Start of pathbuf tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_I088Z2/pathbuf/init/.dirs/runtime 1211s # Initializing empty path buf 1211s # Initializing with empty path 1211s # Initializing with full path 1211s # Initializing with no path 1211s # Allocating GPathBuf on the heap 1211s ok 1 /pathbuf/init 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_I088Z2/pathbuf/push-pop/.dirs/runtime 1211s # Pushing relative path component 1211s # Pushing absolute path component 1211s # Popping a path component 1211s # Can't pop the last element of a path buffer 1211s ok 2 /pathbuf/push-pop 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_I088Z2/pathbuf/filename-extension/.dirs/runtime 1211s ok 3 /pathbuf/filename-extension 1211s # End of pathbuf tests 1211s ok - glib/pathbuf.test 1211s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=248.1s; system=73.3s; maxrss=169984 1211s autopkgtest [11:15:34]: test installed-tests: -----------------------] 1212s installed-tests PASS 1212s autopkgtest [11:15:35]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1213s autopkgtest [11:15:36]: test closure-refcount: preparing testbed 1213s Reading package lists... 1213s Building dependency tree... 1213s Reading state information... 1213s Starting pkgProblemResolver with broken count: 0 1213s Starting 2 pkgProblemResolver with broken count: 0 1213s Done 1214s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1214s autopkgtest [11:15:37]: test closure-refcount: [----------------------- 1215s Running test: glib/closure-refcount.test 1215s TAP version 14 1215s # random seed: R02S03a2511351af4617a98d28549698eda7 1215s 1..1 1215s # Start of closure tests 1215s # Init 0x17c115e2f0a0 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread1 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread2 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread1 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from thread2 1215s # Yielding from main thread 1215s # Yielding from main thread 1215s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread2 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread2 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from thread1 1216s # Yielding from main thread 1216s # Yielding from thread2 1216s # Yielding from main thread 1216s # Yielding from main thread 1216s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from thread1 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from thread2 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from thread1 1217s # Yielding from main thread 1217s # Yielding from thread2 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from thread1 1217s # Yielding from thread2 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1217s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from thread2 1218s # Yielding from main thread 1218s # Yielding from thread1 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from thread2 1218s # Yielding from main thread 1218s # Yielding from thread1 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from thread2 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from main thread 1218s # Yielding from thread2 1218s # Yielding from main thread 1218s # Yielding from thread1 1218s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from thread2 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from thread1 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from thread2 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from thread1 1219s # Yielding from main thread 1219s # Yielding from main thread 1219s # Yielding from thread2 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread1 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread2 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from thread1 1221s # Yielding from main thread 1221s # Yielding from thread2 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s # Yielding from main thread 1221s Executing: glib/closure-refcount.test 1221s # Yielding from main thread 1221s # Stopping 1221s # Stopped 1221s ok 1 /closure/refcount 1221s # slow test /closure/refcount executed in 5.57 secs 1221s # End of closure tests 1221s PASS: glib/closure-refcount.test 1221s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=11.0s; system=0.0s; maxrss=4096 1221s autopkgtest [11:15:44]: test closure-refcount: -----------------------] 1221s autopkgtest [11:15:44]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1221s closure-refcount PASS 1221s autopkgtest [11:15:44]: test debugcontroller: preparing testbed 1222s Reading package lists... 1222s Building dependency tree... 1222s Reading state information... 1222s Starting pkgProblemResolver with broken count: 0 1222s Starting 2 pkgProblemResolver with broken count: 0 1222s Done 1222s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1223s autopkgtest [11:15:46]: test debugcontroller: [----------------------- 1223s Running test: glib/debugcontroller.test 1223s TAP version 14 1223s # random seed: R02S9640a58305928d04581b7f840c6154cf 1223s 1..3 1223s # Start of debug-controller tests 1223s # Start of dbus tests 1223s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1223s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1223s # GLib-GIO-DEBUG: Debug output enabled 1223s # GLib-GIO-DEBUG: Debug output disabled 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s ok 1 /debug-controller/dbus/basic 1223s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1223s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s ok 2 /debug-controller/dbus/duplicate 1223s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1223s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1223s # GLib-GIO-DEBUG: Debug output enabled 1223s # GLib-GIO-DEBUG: Debug output disabled 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1223s ok 3 /debug-controller/dbus/properties 1223s # End of dbus tests 1223s # End of debug-controller tests 1223s PASS: glib/debugcontroller.test 1223s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1224s autopkgtest [11:15:47]: test debugcontroller: -----------------------] 1224s autopkgtest [11:15:47]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1224s debugcontroller PASS 1225s autopkgtest [11:15:48]: test gdbus-server-auth: preparing testbed 1225s Reading package lists... 1225s Building dependency tree... 1225s Reading state information... 1225s Starting pkgProblemResolver with broken count: 0 1225s Starting 2 pkgProblemResolver with broken count: 0 1225s Done 1225s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1226s autopkgtest [11:15:49]: test gdbus-server-auth: [----------------------- 1226s Running test: glib/gdbus-server-auth.test 1226s TAP version 14 1226s # random seed: R02S5ea36d885c880b24ea3f107db31201e1 1226s 1..9 1226s # Start of gdbus tests 1226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/home 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/cache 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/system-config2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/config 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/system-data2 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/data 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/state 1226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/.dirs/runtime 1226s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-WKJK02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1226s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-WKJK02/dbus-4Pp6b2O7 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15185 1226s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1226s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1226s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1226s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1226s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1226s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15185 1227s ok 1 /gdbus/server-auth 1227s # Start of server-auth tests 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/abstract/.dirs/runtime 1227s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-5H2F02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1227s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-5H2F02/dbus-xOAeeoMy 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15185 1227s ok 2 /gdbus/server-auth/abstract 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/tcp/.dirs/runtime 1227s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1227s # Connectable address: tcp:host=127.0.0.1,port=43611 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1227s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1227s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1227s ok 3 /gdbus/server-auth/tcp 1227s # slow test /gdbus/server-auth/tcp executed in 0.92 secs 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/.dirs/runtime 1227s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-9UCK02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1227s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-9UCK02/dbus-c20EH02W 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15185 1227s ok 4 /gdbus/server-auth/anonymous 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/.dirs/runtime 1227s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-KATK02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1227s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-KATK02/dbus-UdiBwfLC 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1227s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15185 1227s ok 5 /gdbus/server-auth/external 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/.dirs/runtime 1227s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-DONK02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1227s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-DONK02/dbus-BUWlxRT0 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15185 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1227s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15185 1227s ok 6 /gdbus/server-auth/sha1 1227s # Start of anonymous tests 1227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/home 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/config 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/data 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/state 1227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1227s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1227s # Connectable address: tcp:host=127.0.0.1,port=44231 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1227s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1227s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1227s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1227s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1227s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1228s ok 7 /gdbus/server-auth/anonymous/tcp 1228s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1228s # End of anonymous tests 1228s # Start of external tests 1228s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/home 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/cache 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/config 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/data 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/state 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1228s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-0C1I02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1228s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X4GK02/gdbus-server-auth-0C1I02/dbus-xlswpFdJ 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15185 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1228s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15185,uid=1000,gid=1000 1228s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15185 1228s ok 8 /gdbus/server-auth/external/require-same-user 1228s # End of external tests 1228s # Start of sha1 tests 1228s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/home 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/cache 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/config 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/data 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/state 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X4GK02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1228s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1228s # Connectable address: tcp:host=127.0.0.1,port=44599 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1228s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1228s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1228s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1228s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1229s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1229s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1229s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1229s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1229s ok 9 /gdbus/server-auth/sha1/tcp 1229s # slow test /gdbus/server-auth/sha1/tcp executed in 0.90 secs 1229s # End of sha1 tests 1229s # End of server-auth tests 1229s # End of gdbus tests 1229s PASS: glib/gdbus-server-auth.test 1229s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 1230s autopkgtest [11:15:53]: test gdbus-server-auth: -----------------------] 1230s autopkgtest [11:15:53]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1230s gdbus-server-auth PASS 1230s autopkgtest [11:15:53]: test gdbus-threading: preparing testbed 1231s Reading package lists... 1231s Building dependency tree... 1231s Reading state information... 1231s Starting pkgProblemResolver with broken count: 0 1231s Starting 2 pkgProblemResolver with broken count: 0 1231s Done 1231s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1232s autopkgtest [11:15:55]: test gdbus-threading: [----------------------- 1232s Running test: glib/gdbus-threading.test 1232s TAP version 14 1232s # random seed: R02Sb79fb5575d33ed5877211796cfa2f1d4 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s 1..3 1232s # Start of gdbus tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_UONI02/gdbus/delivery-in-thread/.dirs/runtime 1232s ok 1 /gdbus/delivery-in-thread 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_UONI02/gdbus/method-calls-in-thread/.dirs/runtime 1233s ok 2 /gdbus/method-calls-in-thread 1233s # slow test /gdbus/method-calls-in-thread executed in 0.85 secs 1233s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/home 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/cache 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/system-config2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/config 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/system-data2 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/data 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/state 1233s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_UONI02/gdbus/threaded-singleton/.dirs/runtime 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x6c333c006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: refcount of 0x6c333c006140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x6c333c0046b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x6c333c002690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c003f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c006b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c006b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c002080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c002080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c002080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c006de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c007330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c007330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c002070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c002070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c007a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x6c333c0059f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x6c333c0079b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c007a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c0030c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c001070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c007480 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c006c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c001510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c0008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s Executing: glib/gdbus-threading.test 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c0072f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x6c333c0072f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s ok 3 /gdbus/threaded-singleton 1237s # slow test /gdbus/threaded-singleton executed in 4.09 secs 1237s # End of gdbus tests 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s PASS: glib/gdbus-threading.test 1237s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.3s; maxrss=8192 1238s autopkgtest [11:16:01]: test gdbus-threading: -----------------------] 1238s gdbus-threading PASS 1238s autopkgtest [11:16:01]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1238s autopkgtest [11:16:01]: test gmenumodel: preparing testbed 1239s Reading package lists... 1239s Building dependency tree... 1239s Reading state information... 1239s Starting pkgProblemResolver with broken count: 0 1239s Starting 2 pkgProblemResolver with broken count: 0 1239s Done 1239s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1240s autopkgtest [11:16:03]: test gmenumodel: [----------------------- 1240s Running test: glib/gmenumodel.test 1240s TAP version 14 1240s # random seed: R02S6d12599fbd93ac390a1dee137f0dafb4 1240s 1..15 1240s # Start of gmenu tests 1242s ok 1 /gmenu/equality 1242s # slow test /gmenu/equality executed in 1.98 secs 1245s ok 2 /gmenu/random 1245s # slow test /gmenu/random executed in 2.71 secs 1245s ok 3 /gmenu/attributes 1245s ok 4 /gmenu/links 1245s ok 5 /gmenu/mutable 1245s ok 6 /gmenu/convenience 1245s ok 7 /gmenu/menuitem 1245s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s Executing: glib/gmenumodel.test 1245s ok 8 /gmenu/input-validation 1245s # Start of dbus tests 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s ok 9 /gmenu/dbus/roundtrip 1246s # slow test /gmenu/dbus/roundtrip executed in 1.03 secs 1247s ok 10 /gmenu/dbus/subscriptions 1248s ok 11 /gmenu/dbus/threaded 1248s # slow test /gmenu/dbus/threaded executed in 1.54 secs 1248s # Start of peer tests 1249s ok 12 /gmenu/dbus/peer/roundtrip 1249s # slow test /gmenu/dbus/peer/roundtrip executed in 1.05 secs 1250s ok 13 /gmenu/dbus/peer/subscriptions 1250s # End of peer tests 1250s # Start of export tests 1250s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1250s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s ok 14 /gmenu/dbus/export/error-handling 1250s # End of export tests 1250s # End of dbus tests 1250s # Start of attributes tests 1250s ok 15 /gmenu/attributes/iterate 1250s # End of attributes tests 1250s # End of gmenu tests 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s PASS: glib/gmenumodel.test 1250s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.6s; system=0.2s; maxrss=26624 1250s autopkgtest [11:16:13]: test gmenumodel: -----------------------] 1250s autopkgtest [11:16:13]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1250s gmenumodel PASS 1251s autopkgtest [11:16:14]: test mainloop: preparing testbed 1251s Reading package lists... 1251s Building dependency tree... 1251s Reading state information... 1251s Starting pkgProblemResolver with broken count: 0 1251s Starting 2 pkgProblemResolver with broken count: 0 1251s Done 1252s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1252s autopkgtest [11:16:15]: test mainloop: [----------------------- 1253s Running test: glib/mainloop.test 1253s TAP version 14 1253s # random seed: R02Sce23638bb2add0c60ecee27e0c01f69b 1253s 1..45 1253s # Start of maincontext tests 1253s ok 1 /maincontext/basic 1253s # Add same-priority sources: 26 1253s # Find each source: 7 1253s # Remove in random order: 31 1253s ok 2 /maincontext/nsources_same_priority 1253s # Add different-priority sources: 29 1253s # Find each source: 7 1253s # Remove in random order: 36 1253s ok 3 /maincontext/nsources_different_priority 1253s # Add sources from threads: 182 1253s # Remove sources from threads: 100 1253s ok 4 /maincontext/nsources_threadpool 1253s ok 5 /maincontext/source_finalization 1253s # /maincontext/idle-once summary: Test g_idle_add_once() works 1253s ok 6 /maincontext/idle-once 1253s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1253s ok 7 /maincontext/timeout-once 1253s # Start of source_finalization_from_source tests 1253s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 8 /maincontext/source_finalization_from_source/0 1253s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 9 /maincontext/source_finalization_from_source/1 1253s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 10 /maincontext/source_finalization_from_source/2 1253s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 11 /maincontext/source_finalization_from_source/3 1253s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 12 /maincontext/source_finalization_from_source/4 1253s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 13 /maincontext/source_finalization_from_source/5 1253s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 14 /maincontext/source_finalization_from_source/6 1253s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 15 /maincontext/source_finalization_from_source/7 1253s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 16 /maincontext/source_finalization_from_source/8 1253s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1253s ok 17 /maincontext/source_finalization_from_source/9 1253s # End of source_finalization_from_source tests 1253s # Start of source_finalization_from_dispatch tests 1253s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1253s ok 18 /maincontext/source_finalization_from_dispatch/0 1253s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1253s ok 19 /maincontext/source_finalization_from_dispatch/1 1253s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1253s ok 20 /maincontext/source_finalization_from_dispatch/2 1253s # End of source_finalization_from_dispatch tests 1253s # End of maincontext tests 1253s # Start of mainloop tests 1253s ok 21 /mainloop/basic 1253s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1253s ok 23 /mainloop/priorities 1254s ok 24 /mainloop/invoke 1254s # slow test /mainloop/invoke executed in 0.50 secs 1255s ok 25 /mainloop/child_sources 1255s # slow test /mainloop/child_sources executed in 1.21 secs 1257s ok 26 /mainloop/recursive_child_sources 1257s # slow test /mainloop/recursive_child_sources executed in 2.23 secs 1257s ok 27 /mainloop/recursive_loop_child_sources 1257s ok 28 /mainloop/swapping_child_sources 1257s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1257s ok 29 /mainloop/blocked_child_sources 1258s Executing: glib/mainloop.test 1258s ok 30 /mainloop/source_time 1258s # slow test /mainloop/source_time executed in 1.00 secs 1258s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1258s ok 31 /mainloop/overflow 1259s ok 32 /mainloop/ready-time 1259s # slow test /mainloop/ready-time executed in 0.50 secs 1259s ok 33 /mainloop/wakeup 1259s ok 34 /mainloop/remove-invalid 1259s ok 35 /mainloop/unref-while-pending 1260s ok 36 /mainloop/unix-fd 1260s # slow test /mainloop/unix-fd executed in 1.41 secs 1260s ok 37 /mainloop/unix-fd-source 1260s ok 38 /mainloop/source-unix-fd-api 1260s ok 39 /mainloop/wait 1260s ok 40 /mainloop/unix-file-poll 1260s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1260s ok 41 /mainloop/unix-fd-priority 1260s ok 42 /mainloop/nfds 1260s ok 43 /mainloop/steal-fd 1260s # Start of ownerless-polling tests 1260s ok 44 /mainloop/ownerless-polling/attach-first 1260s ok 45 /mainloop/ownerless-polling/pop-first 1260s # End of ownerless-polling tests 1260s # End of mainloop tests 1261s PASS: glib/mainloop.test 1261s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=1.2s; maxrss=18432 1261s autopkgtest [11:16:24]: test mainloop: -----------------------] 1261s autopkgtest [11:16:24]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1261s mainloop PASS 1262s autopkgtest [11:16:25]: test memory-monitor-dbus: preparing testbed 1262s Reading package lists... 1262s Building dependency tree... 1262s Reading state information... 1262s Starting pkgProblemResolver with broken count: 0 1262s Starting 2 pkgProblemResolver with broken count: 0 1262s Done 1263s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1263s autopkgtest [11:16:26]: test memory-monitor-dbus: [----------------------- 1264s Running test: glib/memory-monitor-dbus.test 1264s TAP version 13 1264s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1264s # Received memory warning signal, level 1264s # Received memory warning signal, level 1264s # Received memory warning signal, level 1264s 1..1 1264s PASS: glib/memory-monitor-dbus.test 1264s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=36864 1264s autopkgtest [11:16:27]: test memory-monitor-dbus: -----------------------] 1265s autopkgtest [11:16:28]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1265s memory-monitor-dbus PASS 1265s autopkgtest [11:16:28]: test socket: preparing testbed 1265s Reading package lists... 1265s Building dependency tree... 1265s Reading state information... 1266s Starting pkgProblemResolver with broken count: 0 1266s Starting 2 pkgProblemResolver with broken count: 0 1266s Done 1266s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1267s autopkgtest [11:16:30]: test socket: [----------------------- 1267s Running test: glib/socket.test 1267s TAP version 14 1267s # random seed: R02S29582c894a7ab609ebf347c6ee3fe712 1267s 1..28 1267s # Start of socket tests 1268s ok 1 /socket/ipv4_sync 1268s # slow test /socket/ipv4_sync executed in 1.00 secs 1269s ok 2 /socket/ipv4_async 1269s # slow test /socket/ipv4_async executed in 1.00 secs 1269s ok 3 /socket/ipv6_sync 1269s ok 4 /socket/ipv6_async 1269s ok 5 /socket/ipv6_v4mapped 1270s ok 6 /socket/close_graceful 1270s # slow test /socket/close_graceful executed in 1.00 secs 1270s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1270s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1270s ok 8 /socket/fd_reuse 1270s ok 9 /socket/address 1270s ok 10 /socket/unix-from-fd 1270s ok 11 /socket/unix-connection 1270s ok 12 /socket/unix-connection-ancillary-data 1270s ok 13 /socket/source-postmortem 1270s ok 14 /socket/read_write 1270s ok 15 /socket/read_writev 1270s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1270s ok 16 /socket/receive_bytes 1270s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1270s ok 17 /socket/receive_bytes_from 1270s # Start of ipv4_sync tests 1270s ok 18 /socket/ipv4_sync/datagram 1270s # Start of datagram tests 1271s ok 19 /socket/ipv4_sync/datagram/timeouts 1271s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1271s # End of datagram tests 1271s # End of ipv4_sync tests 1271s # Start of ipv6_sync tests 1271s ok 20 /socket/ipv6_sync/datagram 1271s # Start of datagram tests 1272s Executing: glib/socket.test 1272s ok 21 /socket/ipv6_sync/datagram/timeouts 1272s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1272s # End of datagram tests 1272s # End of ipv6_sync tests 1272s # Start of reuse tests 1272s ok 22 /socket/reuse/tcp 1272s ok 23 /socket/reuse/udp 1272s # End of reuse tests 1272s # Start of get_available tests 1272s ok 24 /socket/get_available/datagram 1272s ok 25 /socket/get_available/stream 1272s # End of get_available tests 1272s # Start of credentials tests 1272s # Supported on this OS: GCredentials:linux-ucred:pid=0 1272s ok 26 /socket/credentials/tcp_client 1272s # Supported on this OS: GCredentials:linux-ucred:pid=0 1272s ok 27 /socket/credentials/tcp_server 1272s # Supported on this OS: GCredentials:linux-ucred:pid=17030,uid=1000,gid=1000 1272s ok 28 /socket/credentials/unix_socketpair 1272s # End of credentials tests 1272s # End of socket tests 1272s PASS: glib/socket.test 1272s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1273s autopkgtest [11:16:36]: test socket: -----------------------] 1273s autopkgtest [11:16:36]: test socket: - - - - - - - - - - results - - - - - - - - - - 1273s socket PASS 1273s autopkgtest [11:16:36]: test testfilemonitor: preparing testbed 1274s Reading package lists... 1274s Building dependency tree... 1274s Reading state information... 1274s Starting pkgProblemResolver with broken count: 0 1274s Starting 2 pkgProblemResolver with broken count: 0 1274s Done 1274s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1275s autopkgtest [11:16:38]: test testfilemonitor: [----------------------- 1275s Running test: glib/testfilemonitor.test 1275s TAP version 14 1275s # random seed: R02Sb1074e4f6c4504095c17202544d9ad3e 1275s 1..8 1275s # Start of monitor tests 1275s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1275s # Using temporary directory: /tmp/gio-test-testfilemonitor_YMRK02 1275s # Using GFileMonitor GInotifyFileMonitor 1277s ok 1 /monitor/atomic-replace 1277s # slow test /monitor/atomic-replace executed in 2.00 secs 1277s # Using temporary directory: /tmp/gio-test-testfilemonitor_QPVK02 1277s # Using GFileMonitor GInotifyFileMonitor 1280s ok 2 /monitor/file-changes 1280s # slow test /monitor/file-changes executed in 2.50 secs 1280s # Using temporary directory: /tmp/gio-test-testfilemonitor_CQM4Z2 1280s # Using GFileMonitor GInotifyFileMonitor 1281s Executing: glib/testfilemonitor.test 1283s ok 3 /monitor/dir-monitor 1283s # slow test /monitor/dir-monitor executed in 3.51 secs 1283s # Using temporary directory: /tmp/gio-test-testfilemonitor_SO2K02 1283s # Using GFileMonitor GInotifyFileMonitor 1286s Executing: glib/testfilemonitor.test 1291s Executing: glib/testfilemonitor.test 1296s Executing: glib/testfilemonitor.test 1301s Executing: glib/testfilemonitor.test 1306s Executing: glib/testfilemonitor.test 1308s ok 4 /monitor/dir-not-existent 1308s # slow test /monitor/dir-not-existent executed in 25.02 secs 1308s # Using temporary directory: /tmp/gio-test-testfilemonitor_7F0F02 1308s # Using GFileMonitor 0 GInotifyFileMonitor 1308s # Using GFileMonitor 1 GInotifyFileMonitor 1310s ok 5 /monitor/cross-dir-moves 1310s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1310s # Using temporary directory: /tmp/gio-test-testfilemonitor_2X3F02 1310s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1310s ok 6 /monitor/finalize-in-callback 1310s # Using temporary directory: /tmp/gio-test-testfilemonitor_20HF02 1310s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1310s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1310s ok 7 /monitor/root 1310s # Start of file tests 1310s # Using temporary directory: /tmp/gio-test-testfilemonitor_02KF02 1310s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1310s # Running with hard link tests 1310s # Using GFileMonitor GInotifyFileMonitor 1311s Executing: glib/testfilemonitor.test 1314s # Event 0 at expected index 7 skipped because it is marked as optional 1314s # Event 2 at expected index 11 skipped because it is marked as optional 1314s ok 8 /monitor/file/hard-links 1314s # slow test /monitor/file/hard-links executed in 3.51 secs 1314s # End of file tests 1314s # End of monitor tests 1314s PASS: glib/testfilemonitor.test 1314s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1314s autopkgtest [11:17:17]: test testfilemonitor: -----------------------] 1315s autopkgtest [11:17:18]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1315s testfilemonitor PASS 1315s autopkgtest [11:17:18]: test thread-pool-slow: preparing testbed 1315s Reading package lists... 1316s Building dependency tree... 1316s Reading state information... 1316s Starting pkgProblemResolver with broken count: 0 1316s Starting 2 pkgProblemResolver with broken count: 0 1316s Done 1316s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1317s autopkgtest [11:17:20]: test thread-pool-slow: [----------------------- 1317s Running test: glib/thread-pool-slow.test 1317s TAP version 14 1317s # random seed: R02S7b1d882ec5211c10e95a620aa2c78d1f 1317s 1..7 1317s # Start of threadpool tests 1317s ok 1 /threadpool/functions 1318s ok 2 /threadpool/stop-unused 1318s # slow test /threadpool/stop-unused executed in 0.52 secs 1318s ok 3 /threadpool/pools 1318s # [unsorted] ===> pushed new thread with id:92, number of threads:1, unprocessed:1 1318s # [unsorted] ===> pushed new thread with id:48, number of threads:2, unprocessed:2 1318s # [unsorted] ===> pushed new thread with id:13, number of threads:3, unprocessed:3 1318s # [unsorted] ===> pushed new thread with id:11, number of threads:4, unprocessed:4 1318s # [unsorted] ===> pushed new thread with id:54, number of threads:5, unprocessed:5 1318s # [unsorted] ===> pushed new thread with id:54, number of threads:6, unprocessed:6 1318s # [unsorted] ===> pushed new thread with id:93, number of threads:7, unprocessed:7 1318s # [unsorted] ===> pushed new thread with id:15, number of threads:8, unprocessed:8 1318s # [unsorted] ===> pushed new thread with id:94, number of threads:9, unprocessed:2 1318s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:3 1318s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:4 1318s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:5 1318s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:6 1318s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:7 1318s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:8 1318s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:9 1318s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:10 1318s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:11 1318s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:12 1318s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:13 1318s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:14 1318s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:15 1318s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:16 1318s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:17 1318s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:18 1318s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:19 1318s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:20 1318s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:21 1318s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:22 1318s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:23 1318s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:24 1318s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:25 1318s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:26 1318s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:27 1318s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:28 1318s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:29 1318s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:30 1318s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:31 1318s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:32 1318s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:33 1318s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:34 1318s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:35 1318s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:36 1318s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:37 1318s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:38 1318s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:39 1318s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:40 1318s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:41 1318s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:42 1318s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:43 1318s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:44 1318s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:45 1318s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:46 1318s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:47 1318s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:48 1318s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:49 1318s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:50 1318s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:51 1318s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:52 1318s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:53 1318s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:54 1318s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:55 1318s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:56 1318s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:57 1318s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:58 1318s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:59 1318s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:60 1318s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:61 1318s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:62 1318s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:63 1318s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:64 1318s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:65 1318s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:66 1318s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:67 1318s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:68 1318s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:69 1318s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:70 1318s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:71 1318s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:72 1318s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:73 1318s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:74 1318s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:75 1318s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:76 1318s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:77 1318s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:78 1318s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:79 1318s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:80 1318s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:81 1318s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:82 1318s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:83 1318s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:84 1318s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:85 1318s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:86 1318s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:87 1318s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:88 1318s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:89 1318s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:90 1318s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:91 1318s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:92 1318s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:93 1318s ok 4 /threadpool/no-sort 1318s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:1 1318s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:2 1318s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:3 1318s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:4 1318s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:5 1318s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:6 1318s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:7 1318s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:8 1318s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:9 1318s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:10 1318s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:11 1318s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:12 1318s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:13 1318s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:14 1318s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:15 1318s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:16 1318s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:17 1318s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:18 1318s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:19 1318s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:20 1318s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:21 1318s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:22 1318s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:23 1318s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:24 1318s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:25 1318s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:26 1318s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:27 1318s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:28 1318s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:29 1318s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:30 1318s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:31 1318s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:32 1318s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:33 1318s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:34 1318s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:35 1318s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:36 1318s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:37 1318s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:38 1318s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:39 1318s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:40 1318s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:41 1318s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:42 1318s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:43 1318s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:44 1318s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:45 1318s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:46 1318s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:47 1318s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:48 1318s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:49 1318s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:50 1318s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:51 1318s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:52 1318s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:53 1318s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:54 1318s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:55 1318s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:56 1318s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:57 1318s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:58 1318s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:59 1318s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:60 1318s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:61 1318s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:62 1318s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:63 1318s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:64 1318s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:65 1318s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:66 1318s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:67 1318s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:68 1318s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:69 1318s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:70 1318s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:71 1318s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:72 1318s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:73 1318s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:74 1318s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:75 1318s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:76 1318s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:77 1318s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:78 1318s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:79 1318s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:80 1318s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:81 1318s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:82 1318s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:83 1318s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:84 1318s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:85 1318s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:86 1318s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:87 1318s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:88 1318s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:89 1318s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:90 1318s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:91 1318s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:92 1318s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:93 1318s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:94 1318s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:95 1318s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:96 1318s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:97 1318s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:98 1318s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:99 1318s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:100 1318s # Starting thread pool processing 1318s ok 5 /threadpool/sort 1318s ok 6 /threadpool/stop-unused-multiple 1318s # slow test /threadpool/stop-unused-multiple executed in 0.53 secs 1318s # Pool idle thread count: 0, unprocessed jobs: 50 1319s # Pool idle thread count: 0, unprocessed jobs: 0 1319s # Pool idle thread count: 0, unprocessed jobs: 0 1319s # Pool idle thread count: 10, unprocessed jobs: 0 1319s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1320s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1321s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s Executing: glib/thread-pool-slow.test 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1322s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1323s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1324s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1325s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1326s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s # Pool idle thread count: 10, unprocessed jobs: 0 1327s Executing: glib/thread-pool-slow.test 1327s # Pool idle thread count: 10, unprocessed jobs: 2 1327s # Pool idle thread count: 10, unprocessed jobs: 2 1327s # Pool idle thread count: 8, unprocessed jobs: 0 1327s # Pool idle thread count: 8, unprocessed jobs: 0 1328s # Pool idle thread count: 10, unprocessed jobs: 0 1328s # Pool idle thread count: 10, unprocessed jobs: 0 1328s # Pool idle thread count: 10, unprocessed jobs: 0 1328s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 10, unprocessed jobs: 0 1329s # Pool idle thread count: 2, unprocessed jobs: 0 1329s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1330s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1331s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s Executing: glib/thread-pool-slow.test 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1332s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1333s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1334s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1335s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1336s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1337s Executing: glib/thread-pool-slow.test 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1337s # Pool idle thread count: 2, unprocessed jobs: 0 1338s ok 7 /threadpool/idle-time 1338s # slow test /threadpool/idle-time executed in 19.53 secs 1338s # End of threadpool tests 1338s PASS: glib/thread-pool-slow.test 1338s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=10240 1338s autopkgtest [11:17:41]: test thread-pool-slow: -----------------------] 1339s autopkgtest [11:17:42]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1339s thread-pool-slow PASS 1339s autopkgtest [11:17:42]: test threadtests: preparing testbed 1339s Reading package lists... 1340s Building dependency tree... 1340s Reading state information... 1340s Starting pkgProblemResolver with broken count: 0 1340s Starting 2 pkgProblemResolver with broken count: 0 1340s Done 1340s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1341s autopkgtest [11:17:44]: test threadtests: [----------------------- 1341s Running test: glib/threadtests.test 1341s TAP version 14 1341s # random seed: R02S10249eaafb2b7199660e49c7a2452161 1341s 1..5 1341s # Start of GObject tests 1341s ok 1 /GObject/threaded-object-init 1342s ok 2 /GObject/threaded-weak-ref 1342s # slow test /GObject/threaded-weak-ref executed in 1.02 secs 1342s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1342s # /GObject/threaded-toggle-notify summary: Test that toggle reference notifications can be changed safely from another (the main) thread without causing the notifying thread to abort 1343s ok 3 /GObject/threaded-toggle-notify 1343s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1343s # Start of threaded-weak-ref tests 1343s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1343s # /GObject/threaded-weak-ref/on-finalization summary: Test that a weak ref added by another thread during dispose of a GObject is cleared during finalisation. Use on_weak_ref_disposed() to synchronize the other thread with the dispose vfunc. 1343s ok 5 /GObject/threaded-weak-ref/on-finalization 1343s # End of threaded-weak-ref tests 1343s # End of GObject tests 1343s PASS: glib/threadtests.test 1343s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.5s; maxrss=4096 1343s autopkgtest [11:17:46]: test threadtests: -----------------------] 1344s threadtests PASS 1344s autopkgtest [11:17:47]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1344s autopkgtest [11:17:47]: test timeout: preparing testbed 1344s Reading package lists... 1344s Building dependency tree... 1344s Reading state information... 1345s Starting pkgProblemResolver with broken count: 0 1345s Starting 2 pkgProblemResolver with broken count: 0 1345s Done 1345s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1346s autopkgtest [11:17:49]: test timeout: [----------------------- 1346s Running test: glib/timeout.test 1346s TAP version 14 1346s # random seed: R02S4ecf905d75d81425456cee5afa5d43a5 1346s 1..5 1346s # Start of timeout tests 1346s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1348s ok 1 /timeout/seconds 1348s # slow test /timeout/seconds executed in 2.10 secs 1350s ok 2 /timeout/seconds-once 1350s # slow test /timeout/seconds-once executed in 2.10 secs 1350s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1351s Executing: glib/timeout.test 1352s ok 3 /timeout/weeks-overflow 1352s # slow test /timeout/weeks-overflow executed in 2.10 secs 1352s ok 4 /timeout/far-future-ready-time 1356s Executing: glib/timeout.test 1361s Executing: glib/timeout.test 1362s ok 5 /timeout/rounding 1362s # slow test /timeout/rounding executed in 9.94 secs 1362s # End of timeout tests 1362s PASS: glib/timeout.test 1362s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1363s autopkgtest [11:18:06]: test timeout: -----------------------] 1363s autopkgtest [11:18:06]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1363s timeout PASS 1363s autopkgtest [11:18:06]: test timer: preparing testbed 1364s Reading package lists... 1364s Building dependency tree... 1364s Reading state information... 1364s Starting pkgProblemResolver with broken count: 0 1364s Starting 2 pkgProblemResolver with broken count: 0 1364s Done 1364s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1365s autopkgtest [11:18:08]: test timer: [----------------------- 1365s Running test: glib/timer.test 1365s TAP version 14 1365s # random seed: R02S4e100102346da7435d6b0e8b22cdd9bd 1365s 1..10 1365s # Start of timer tests 1365s ok 1 /timer/basic 1365s ok 2 /timer/stop 1365s ok 3 /timer/continue 1365s ok 4 /timer/reset 1365s ok 5 /timer/is_active 1365s # End of timer tests 1365s # Start of timeval tests 1365s ok 6 /timeval/add 1365s ok 7 /timeval/from-iso8601 1365s ok 8 /timeval/to-iso8601 1365s # Start of to-iso8601 tests 1365s ok 9 /timeval/to-iso8601/overflow 1365s # End of to-iso8601 tests 1365s # End of timeval tests 1365s # Start of usleep tests 1365s ok 10 /usleep/with-zero-wait 1365s # End of usleep tests 1365s PASS: glib/timer.test 1365s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1366s autopkgtest [11:18:09]: test timer: -----------------------] 1366s autopkgtest [11:18:09]: test timer: - - - - - - - - - - results - - - - - - - - - - 1366s timer PASS 1367s autopkgtest [11:18:10]: test 1065022-futureproofing: preparing testbed 1472s autopkgtest [11:19:55]: testbed dpkg architecture: ppc64el 1473s autopkgtest [11:19:56]: testbed apt version: 2.9.18 1473s autopkgtest [11:19:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1473s autopkgtest [11:19:56]: testbed release detected to be: plucky 1474s autopkgtest [11:19:57]: updating testbed package index (apt update) 1474s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1475s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1475s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1475s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1475s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1475s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [854 kB] 1475s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [139 kB] 1475s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.3 kB] 1475s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [260 kB] 1475s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 1475s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [982 kB] 1475s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [4080 B] 1476s Fetched 2335 kB in 1s (1982 kB/s) 1477s Reading package lists... 1477s Reading package lists... 1478s Building dependency tree... 1478s Reading state information... 1478s Calculating upgrade... 1478s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1478s Reading package lists... 1479s Building dependency tree... 1479s Reading state information... 1479s 0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. 1479s autopkgtest [11:20:02]: upgrading testbed (apt dist-upgrade and autopurge) 1479s Reading package lists... 1480s Building dependency tree... 1480s Reading state information... 1480s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1480s Starting 2 pkgProblemResolver with broken count: 0 1480s Done 1481s Entering ResolveByKeep 1481s 1481s The following NEW packages will be installed: 1481s login.defs 1481s The following packages will be upgraded: 1481s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 1481s libsmartcols1 libuuid1 login mount passwd util-linux uuid-runtime 1481s 14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1481s Need to get 3680 kB of archives. 1481s After this operation, 1376 kB of additional disk space will be used. 1481s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdutils ppc64el 1:2.40.2-14ubuntu1 [105 kB] 1482s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el eject ppc64el 2.40.2-14ubuntu1 [47.8 kB] 1482s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el bsdextrautils ppc64el 2.40.2-14ubuntu1 [92.9 kB] 1482s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libfdisk1 ppc64el 2.40.2-14ubuntu1 [188 kB] 1482s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el fdisk ppc64el 2.40.2-14ubuntu1 [153 kB] 1482s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libblkid1 ppc64el 2.40.2-14ubuntu1 [161 kB] 1482s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libmount1 ppc64el 2.40.2-14ubuntu1 [190 kB] 1482s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libsmartcols1 ppc64el 2.40.2-14ubuntu1 [108 kB] 1482s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el mount ppc64el 2.40.2-14ubuntu1 [146 kB] 1482s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libuuid1 ppc64el 2.40.2-14ubuntu1 [45.3 kB] 1482s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el util-linux ppc64el 2.40.2-14ubuntu1 [1176 kB] 1482s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el uuid-runtime ppc64el 2.40.2-14ubuntu1 [54.6 kB] 1482s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 1482s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el login ppc64el 1:4.16.0-2+really2.40.2-14ubuntu1 [78.7 kB] 1482s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el passwd ppc64el 1:4.16.0-7ubuntu1 [1094 kB] 1483s Fetched 3680 kB in 1s (4830 kB/s) 1483s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 1483s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_ppc64el.deb ... 1483s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu2) ... 1483s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 1483s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 1483s Preparing to unpack .../eject_2.40.2-14ubuntu1_ppc64el.deb ... 1483s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1483s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_ppc64el.deb ... 1483s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1483s Preparing to unpack .../libfdisk1_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking libfdisk1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking libblkid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Setting up libblkid1:ppc64el (2.40.2-14ubuntu1) ... 1484s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 1484s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking libmount1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Setting up libmount1:ppc64el (2.40.2-14ubuntu1) ... 1484s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 1484s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking libsmartcols1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Setting up libsmartcols1:ppc64el (2.40.2-14ubuntu1) ... 1484s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 1484s Preparing to unpack .../mount_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking libuuid1:ppc64el (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Setting up libuuid1:ppc64el (2.40.2-14ubuntu1) ... 1484s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74041 files and directories currently installed.) 1484s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_ppc64el.deb ... 1484s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1484s Setting up util-linux (2.40.2-14ubuntu1) ... 1485s fstrim.service is a disabled or a static unit not running, not starting it. 1485s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74034 files and directories currently installed.) 1485s Preparing to unpack .../uuid-runtime_2.40.2-14ubuntu1_ppc64el.deb ... 1485s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu2) ... 1485s Selecting previously unselected package login.defs. 1485s Preparing to unpack .../login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 1485s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 1485s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 1485s Setting up login.defs (1:4.16.0-7ubuntu1) ... 1485s Installing new version of config file /etc/login.defs ... 1485s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74038 files and directories currently installed.) 1485s Preparing to unpack .../login_1%3a4.16.0-2+really2.40.2-14ubuntu1_ppc64el.deb ... 1485s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 1486s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_ppc64el.deb ... 1486s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 1486s Setting up passwd (1:4.16.0-7ubuntu1) ... 1486s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 1486s Setting up eject (2.40.2-14ubuntu1) ... 1486s Setting up libfdisk1:ppc64el (2.40.2-14ubuntu1) ... 1486s Setting up mount (2.40.2-14ubuntu1) ... 1486s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 1487s uuidd.service is a disabled or a static unit not running, not starting it. 1487s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 1487s Setting up fdisk (2.40.2-14ubuntu1) ... 1487s Processing triggers for man-db (2.13.0-1) ... 1491s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1491s Reading package lists... 1491s Building dependency tree... 1491s Reading state information... 1492s Starting pkgProblemResolver with broken count: 0 1492s Starting 2 pkgProblemResolver with broken count: 0 1492s Done 1493s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1493s autopkgtest [11:20:16]: rebooting testbed after setup commands that affected boot 1527s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 1538s Reading package lists... 1538s Building dependency tree... 1538s Reading state information... 1538s Starting pkgProblemResolver with broken count: 0 1538s Starting 2 pkgProblemResolver with broken count: 0 1538s Done 1539s The following NEW packages will be installed: 1539s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1539s libdconf1 1539s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1539s Need to get 150 kB of archives. 1539s After this operation, 824 kB of additional disk space will be used. 1539s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdconf1 ppc64el 0.40.0-4build2 [44.0 kB] 1539s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-service ppc64el 0.40.0-4build2 [31.1 kB] 1539s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4build2 [26.5 kB] 1539s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1539s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1540s Fetched 150 kB in 0s (329 kB/s) 1540s Selecting previously unselected package libdconf1:ppc64el. 1540s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74036 files and directories currently installed.) 1540s Preparing to unpack .../libdconf1_0.40.0-4build2_ppc64el.deb ... 1540s Unpacking libdconf1:ppc64el (0.40.0-4build2) ... 1540s Selecting previously unselected package dconf-service. 1540s Preparing to unpack .../dconf-service_0.40.0-4build2_ppc64el.deb ... 1540s Unpacking dconf-service (0.40.0-4build2) ... 1540s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1540s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_ppc64el.deb ... 1540s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1540s Selecting previously unselected package dpkg-repack. 1540s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1540s Unpacking dpkg-repack (1.54) ... 1540s Selecting previously unselected package gsettings-desktop-schemas. 1540s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1540s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1540s Setting up dpkg-repack (1.54) ... 1540s Setting up libdconf1:ppc64el (0.40.0-4build2) ... 1540s Setting up dconf-service (0.40.0-4build2) ... 1540s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1540s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1540s Processing triggers for man-db (2.13.0-1) ... 1541s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 1541s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1548s autopkgtest [11:21:11]: test 1065022-futureproofing: [----------------------- 1548s + export DEBIAN_FRONTEND=noninteractive 1548s + n=0 1548s + failed=0 1548s + binary_package=libglib2.0-0t64 1548s + future_binary_package=libglib2.0-0xyz 1548s + pwd 1548s + srcdir=/tmp/autopkgtest.U3etz3/build.oBW/src 1548s + mktemp -d 1548s + tmpdir=/tmp/tmp.Bu1Z5ElHJL 1548s + cd /tmp/tmp.Bu1Z5ElHJL 1548s + [ -e /tmp/autopkgtest.U3etz3/build.oBW/src/debian/tests/manual/local-1065022.sources ] 1548s + dpkg-query -W dpkg-repack 1548s dpkg-repack 1.54 1548s + dpkg-repack --generate libglib2.0-0t64 1548s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1549s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.UCWg_x for libglib2.0-0t64 1549s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.UCWg_x ." 1549s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.UCWg_x/DEBIAN/control 1549s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.UCWg_x/DEBIAN/control 1549s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.UCWg_x/DEBIAN/control 1549s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1549s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.UCWg_x/DEBIAN/control 1549s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.UCWg_x libglib2.0-0xyz.deb 1550s + apt-get -y install ./libglib2.0-0xyz.deb 1550s Reading package lists... 1551s Building dependency tree... 1551s Reading state information... 1551s The following packages were automatically installed and are no longer required: 1551s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1551s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1551s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1551s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1551s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1551s python3-openssl python3-problem-report python3-pygments python3-requests 1551s python3-rich python3-systemd python3-urllib3 1551s Use 'sudo apt autoremove' to remove them. 1551s The following additional packages will be installed: 1551s xdg-user-dirs 1551s Suggested packages: 1551s low-memory-monitor 1551s Recommended packages: 1551s shared-mime-info 1551s The following packages will be REMOVED: 1551s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1551s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1551s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1551s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1551s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1551s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1551s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1551s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1551s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1551s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1551s python3-netplan shared-mime-info ubuntu-minimal udisks2 1551s The following NEW packages will be installed: 1551s libglib2.0-0xyz xdg-user-dirs 1551s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1551s Need to get 20.1 kB/1808 kB of archives. 1551s After this operation, 39.6 MB disk space will be freed. 1551s Get:1 /tmp/tmp.Bu1Z5ElHJL/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.82.4-1 [1788 kB] 1551s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el xdg-user-dirs ppc64el 0.18-2 [20.1 kB] 1551s Fetched 20.1 kB in 0s (85.0 kB/s) 1552s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74104 files and directories currently installed.) 1552s Removing bolt (0.9.8-1) ... 1552s Removing cloud-init (24.4-0ubuntu1) ... 1552s Removing cloud-init-base (24.4-0ubuntu1) ... 1553s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1553s Removing dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1553s Removing dconf-service (0.40.0-4build2) ... 1553s Removing fwupd (2.0.3-3) ... 1554s Removing networkd-dispatcher (2.2.4-1.1) ... 1554s Removing udisks2 (2.10.1-11ubuntu1) ... 1555s Removing libblockdev-crypto3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-fs3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-loop3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-mdraid3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-nvme3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-part3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-swap3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-utils3:ppc64el (3.2.1-1) ... 1556s Removing libdconf1:ppc64el (0.40.0-4build2) ... 1556s Removing libfwupd3:ppc64el (2.0.3-3) ... 1556s Removing shared-mime-info (2.4-5) ... 1556s Removing python3-dbus (1.3.2-5build4) ... 1556s Removing libgudev-1.0-0:ppc64el (1:238-5ubuntu1) ... 1556s Removing libjcat1:ppc64el (0.2.0-2build3) ... 1556s Removing libjson-glib-1.0-0:ppc64el (1.10.6+ds-1) ... 1556s Removing libqmi-proxy (1.35.6-1) ... 1557s Removing libqmi-glib5:ppc64el (1.35.6-1) ... 1557s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1557s Removing libmbim-glib4:ppc64el (1.31.2-0ubuntu4) ... 1557s Removing libmm-glib0:ppc64el (1.23.4-0ubuntu2) ... 1557s Removing ubuntu-minimal (1.544) ... 1557s Removing netplan.io (1.1.1-1) ... 1557s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1557s Removing python3-netplan (1.1.1-1) ... 1557s Removing netplan-generator (1.1.1-1) ... 1558s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1558s Removing libnetplan1:ppc64el (1.1.1-1) ... 1558s Removing libpolkit-agent-1-0:ppc64el (125-2ubuntu1) ... 1558s Removing libpolkit-gobject-1-0:ppc64el (125-2ubuntu1) ... 1558s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ... 1558s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu1) ... 1558s Removing libvolume-key1:ppc64el (0.3.12-8) ... 1559s Removing libxmlb2:ppc64el (0.3.21-1) ... 1559s Removing apport (2.31.0-0ubuntu2) ... 1560s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1560s Removing python3-gi (3.50.0-3build1) ... 1560s Removing gir1.2-girepository-2.0:ppc64el (1.82.0-3) ... 1560s Removing gir1.2-glib-2.0:ppc64el (2.82.4-1) ... 1561s Removing libgirepository-1.0-1:ppc64el (1.82.0-3) ... 1561s Removing libglib2.0-0t64:ppc64el (2.82.4-1) ... 1561s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1561s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73043 files and directories currently installed.) 1561s Preparing to unpack .../libglib2.0-0xyz.deb ... 1561s Unpacking libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1561s Selecting previously unselected package xdg-user-dirs. 1561s Preparing to unpack .../xdg-user-dirs_0.18-2_ppc64el.deb ... 1561s Unpacking xdg-user-dirs (0.18-2) ... 1562s Setting up xdg-user-dirs (0.18-2) ... 1562s Setting up libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1562s No schema files found: removed existing output file. 1562s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1562s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1562s Processing triggers for man-db (2.13.0-1) ... 1565s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1565s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1565s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1565s + n=1 1565s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1565s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1565s + failed=1 1565s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1565s + n=2 1565s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1565s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1565s + failed=1 1565s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1565s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1565s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1565s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1565s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1565s + n=3 1565s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1565s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1565s + failed=1 1565s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1565s + n=4 1565s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1565s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1565s + failed=1 1565s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1565s + n=5 1565s + test -e /usr/lib/*/gio/modules/giomodule.cache 1565s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1565s + failed=1 1565s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1565s + n=6 1565s + test -s /usr/lib/*/gio/modules/giomodule.cache 1565s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1565s + failed=1 1565s + apt-get -y purge libglib2.0-0t64 1565s Reading package lists... 1565s Building dependency tree... 1565s Reading state information... 1565s The following packages were automatically installed and are no longer required: 1565s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1565s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1565s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1565s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1565s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1565s python3-openssl python3-problem-report python3-pygments python3-requests 1565s python3-rich python3-systemd python3-urllib3 1565s Use 'sudo apt autoremove' to remove them. 1565s The following packages will be REMOVED: 1565s libglib2.0-0t64* 1566s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1566s After this operation, 0 B of additional disk space will be used. 1566s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73078 files and directories currently installed.) 1566s Purging configuration files for libglib2.0-0t64:ppc64el (2.82.4-1) ... 1566s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1566s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1566s + n=7 1566s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1566s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1566s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1566s + failed=1 1566s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1566s + n=8 1566s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1566s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1566s + failed=1 1566s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1566s + n=9 1566s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1566s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1566s + failed=1 1566s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1566s + n=10 1566s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1566s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1566s + failed=1 1566s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1566s + n=11 1566s + test -e /usr/lib/*/gio/modules/giomodule.cache 1566s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1566s + failed=1 1566s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1566s + n=12 1566s + test -s /usr/lib/*/gio/modules/giomodule.cache 1566s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1566s + failed=1 1566s + apt-get -y purge libglib2.0-0xyz 1566s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1566s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1566s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1566s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1566s Reading package lists... 1567s Building dependency tree... 1567s Reading state information... 1567s The following packages were automatically installed and are no longer required: 1567s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 1567s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libglib2.0-data 1567s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1567s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet 1567s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1567s python3-openssl python3-problem-report python3-pygments python3-requests 1567s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1567s Use 'sudo apt autoremove' to remove them. 1567s The following packages will be REMOVED: 1567s libglib2.0-0xyz* 1568s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1568s After this operation, 6012 kB disk space will be freed. 1568s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73078 files and directories currently installed.) 1568s Removing libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1568s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1569s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 73053 files and directories currently installed.) 1569s Purging configuration files for libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1569s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1569s 1..16 1569s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s + n=13 1569s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1569s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s + n=14 1569s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1569s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s + n=15 1569s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1569s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1569s + n=16 1569s + test -e /usr/lib/*/gio/modules/giomodule.cache 1569s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1569s + echo 1..16 1569s + exit 1 1570s autopkgtest [11:21:33]: test 1065022-futureproofing: -----------------------] 1570s autopkgtest [11:21:33]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1570s 1065022-futureproofing FLAKY non-zero exit status 1 1571s autopkgtest [11:21:34]: @@@@@@@@@@@@@@@@@@@@ summary 1571s build PASS (superficial) 1571s build-static PASS (superficial) 1571s girepository-tools PASS (superficial) 1571s libgio-2.0-dev-bin PASS (superficial) 1571s libglib2.0-dev PASS (superficial) 1571s installed-tests PASS 1571s closure-refcount PASS 1571s debugcontroller PASS 1571s gdbus-server-auth PASS 1571s gdbus-threading PASS 1571s gmenumodel PASS 1571s mainloop PASS 1571s memory-monitor-dbus PASS 1571s socket PASS 1571s testfilemonitor PASS 1571s thread-pool-slow PASS 1571s threadtests PASS 1571s timeout PASS 1571s timer PASS 1571s 1065022-futureproofing FLAKY non-zero exit status 1 1575s nova [W] Using flock in prodstack6-ppc64el 1575s Creating nova instance adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 from image adt/ubuntu-plucky-ppc64el-server-20250114.img (UUID 06b24e09-b872-4c08-93bb-6c233d059c12)... 1575s nova [W] Timed out waiting for bc347bd6-1e23-4354-98bd-5373a6f4c41e to get deleted. 1575s nova [W] Using flock in prodstack6-ppc64el 1575s Creating nova instance adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 from image adt/ubuntu-plucky-ppc64el-server-20250114.img (UUID 06b24e09-b872-4c08-93bb-6c233d059c12)... 1575s nova [W] Timed out waiting for e0de52b6-bc83-4eb1-a970-e2892c9f7862 to get deleted. 1575s nova [W] Using flock in prodstack6-ppc64el 1575s Creating nova instance adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 from image adt/ubuntu-plucky-ppc64el-server-20250114.img (UUID 06b24e09-b872-4c08-93bb-6c233d059c12)... 1575s nova [W] Timed out waiting for 9f1e7e18-77b6-4a62-ba19-1e87f8eb2e12 to get deleted. 1575s nova [W] Using flock in prodstack6-ppc64el 1575s Creating nova instance adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 from image adt/ubuntu-plucky-ppc64el-server-20250114.img (UUID 06b24e09-b872-4c08-93bb-6c233d059c12)... 1575s nova [W] Timed out waiting for 7bbcbb76-d632-474e-9d61-78b9f8b92a46 to get deleted. 1575s nova [W] Using flock in prodstack6-ppc64el 1575s Creating nova instance adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 from image adt/ubuntu-plucky-ppc64el-server-20250114.img (UUID 06b24e09-b872-4c08-93bb-6c233d059c12)... 1575s nova [W] Timed out waiting for 40bd76a6-d4f5-4064-925f-dd60b2895ed7 to get deleted. 1575s nova [W] Using flock in prodstack6-ppc64el 1575s Creating nova instance adt-plucky-ppc64el-glib2.0-20250114-084457-juju-7f2275-prod-proposed-migration-environment-20-9efa826d-8000-4e44-ba10-cefcbf17b442 from image adt/ubuntu-plucky-ppc64el-server-20250114.img (UUID 06b24e09-b872-4c08-93bb-6c233d059c12)... 1575s nova [W] Timed out waiting for b6f57d90-5b79-4ac0-9605-9f3afe1d53f6 to get deleted.